mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Remove two JNLIB_ macros (jnlib merge).
* configure.ac: Merge seperate jnlib checks. (HAVE_JNLIB_LOGGING): Remove. * common/logging.c, common/simple-pwquery.c (JNLIB_NEED_AFLOCAL): Rename to GNUPG_COMMON_NEED_AFLOCAL. Change all tests. -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
17bcd08708
commit
575230d91b
24 changed files with 19 additions and 55 deletions
|
@ -81,7 +81,7 @@ time_t timegm (struct tm *tm);
|
|||
|
||||
|
||||
/* Include hacks which are mainly required for Slowaris. */
|
||||
#ifdef JNLIB_NEED_AFLOCAL
|
||||
#ifdef GNUPG_COMMON_NEED_AFLOCAL
|
||||
#ifndef HAVE_W32_SYSTEM
|
||||
# include <sys/socket.h>
|
||||
# include <sys/un.h>
|
||||
|
@ -115,7 +115,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*/
|
||||
#endif /*GNUPG_COMMON_NEED_AFLOCAL*/
|
||||
|
||||
|
||||
#endif /*LIBJNLIB_MISCHELP_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue