On Wed, Nov 22, 2017 at 11:37:04AM +0100, Felix von Leitner wrote:
> > > Are you sure about this?
> > It's _XOPEN_SOURCE, but as configure.ac contains AC_USE_SYSTEM_EXTENSIONS,
> > I suppose _GNU_SOURCE is defined anyway.
> 
> I do get the symbol when I define _XOPEN_SOURCE:
> 
>   $ printf "#include <limits.h>\\nIOV_MAX" | arm-linux-gnueabi-gcc 
> -D_XOPEN_SOURCE -E -
> 
> Something else must be broken here.
> Not sure what though.

AC_USE_SYSTEM_EXTENSIONS normally causes the following code
to be added to config.h file:

/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to