Am 31.03.2010 21:55, schrieb David Shao (via DragonFly issue tracker):

New submission from David Shao<[email protected]>:

The memmem() function has a prototype given in /usr/include/string.h, (and
/usr/src/lib/libc/string/memmem.c exists) only it is required that __BSD_VISIBLE
be defined.  Unfortunately a check of gcc 4.1.2

gcc -E -dM -<  /dev/null | sort

shows no sign of any *VISIBLE.

__BSD_VISIBLE is not a builtin. It's defined in <sys/cdefs.h> and is 1 for our default compilation environment (unless any _POSIX_C_SOURCE or similar macros are set).

Sascha

--
http://yoyodyne.ath.cx

Reply via email to