stephen parkinson <stephen@zmemw16.demon.co.uk> writes:
Thomas H. George wrote:
I am using source code from UNIX SYSTEMS PROGRAMMING by Robbins &
Robbins. It gives a compiler error unless compiled with the option
-D_GNU_SOURCE .
Where does this option come from - its not in the man pages? Why is
it needed when using the Debian gcc and g++ packages?
30sec google search suggests it should perhaps be
-DGNU_SOURCE
Care to elaborate? A Google search for GNU_SOURCE turns up 1,680 hits
for me, while _GNU_SOURCE is found 17,200 times.
Martin