From 7408198b5a57bfa32194c033a95b81dc637b0534 Mon Sep 17 00:00:00 2001 From: wk Date: Thu, 4 Jun 2009 14:19:21 +0000 Subject: [PATCH] Define SUN_LEN also for W32. git-svn-id: svn://cvs.gnupg.org/gnupg/trunk@5034 8a63c251-dffc-0310-8ec6-d64dca2275b1 --- artwork/gnupg-logo-new-single.svg | 125 ++++++++++++++++++++++++++++++++++++++ jnlib/ChangeLog | 4 ++ jnlib/mischelp.h | 12 ++-- 3 files changed, 137 insertions(+), 4 deletions(-) create mode 100644 artwork/gnupg-logo-new-single.svg diff --git a/artwork/gnupg-logo-new-single.svg b/artwork/gnupg-logo-new-single.svg new file mode 100644 index 00000000..7765948a --- /dev/null +++ b/artwork/gnupg-logo-new-single.svg @@ -0,0 +1,125 @@ + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + GnuPG + + \ No newline at end of file diff --git a/jnlib/ChangeLog b/jnlib/ChangeLog index b9984235..5f00f8eb 100644 --- a/jnlib/ChangeLog +++ b/jnlib/ChangeLog @@ -1,3 +1,7 @@ +2009-06-04 Werner Koch + + * mischelp.h: Include SUN_LEN etc also for W32. + 2009-05-19 Werner Koch * mischelp.h: Define PF_LOCAL, AF_LOCAL and SUN_LEN if requested. diff --git a/jnlib/mischelp.h b/jnlib/mischelp.h index 6bf7a917..e478354d 100644 --- a/jnlib/mischelp.h +++ b/jnlib/mischelp.h @@ -61,9 +61,13 @@ time_t timegm (struct tm *tm); /* Include hacks which are mainly required for Slowaris. */ -#if defined(JNLIB_NEED_AFLOCAL) && !defined(HAVE_W32_SYSTEM) -#include -#include +#ifdef JNLIB_NEED_AFLOCAL +#ifndef HAVE_W32_SYSTEM +# include +# include +#else +# include +#endif #ifndef PF_LOCAL # ifdef PF_UNIX @@ -88,7 +92,7 @@ time_t timegm (struct tm *tm); # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \ + strlen ((ptr)->sun_path)) #endif /*SUN_LEN*/ -#endif /*JNLIB_NEED_AFLOCAL && !HAVE_W32_SYSTEM*/ +#endif /*JNLIB_NEED_AFLOCAL*/ #endif /*LIBJNLIB_MISCHELP_H*/ -- 2.11.4.GIT