stephen parkinson <[EMAIL PROTECTED]> 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


-- 
   ,--.    Martin Dickopp, Dresden, Germany                 ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/                      ((_/)o o(\_))
  \ `-'                                                     `-'(. .)`-'
   `-.     Debian, a variant of the GNU operating system.       \_/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to