Skip to content

Commit

Permalink
Do not define _POSIX_C_SOURCE
Browse files Browse the repository at this point in the history
Because _GNU_SOURCE implies it, and causes it to be defined. And thus we
get problems when <config.h> gets included more than once. Which it will
do when we add the seqno test...

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Aug 30, 2016
1 parent f27b7d5 commit bb6f730
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions configure.ac
Expand Up @@ -30,8 +30,6 @@ symver_win32_strerror=
case $host_os in
*linux* | *gnu* | *nacl*)
AC_MSG_NOTICE([Applying feature macros for GNU build])
AC_DEFINE(_POSIX_C_SOURCE, 200112L, [_POSIX_C_SOURCE])
# For asprintf()
AC_DEFINE(_GNU_SOURCE, 1, [_GNU_SOURCE])
;;
*netbsd*)
Expand Down

0 comments on commit bb6f730

Please sign in to comment.