tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] /usr/include/netdb.h:692: identifier expected


From: Nigel Horne
Subject: [Tinycc-devel] /usr/include/netdb.h:692: identifier expected
Date: Wed, 08 Sep 2010 11:55:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6

On 32-bit Linux systems, this fails to compile:

#define    _GNU_SOURCE

#include <stdio.h>
#include <netdb.h>

main()
{
    puts("hello, world");
}

I would like to have _GNU_SOURCE so that I can get the prototype for memmem. I don't get the compilation failure on 64-bit Linux systems.

Any ideas?

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
address@hidden http://www.bandsman.co.uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]