Csaba Halász ha scritto: > But it will break older versions. Also, an #ifndef check won't work if > it isn't a macro. I don't know if any platforms (mac, windows, > something else) would be affected. > A better way would be something like > #ifdef __GNUC__ > #define __USE_GNU 1 > #endif > > before including the netdb.h. Or even with _GNU_SOURCE, if that sets > __USE_GNU somehow. > > > [...] > > Can you try the above instead? ;) > > shoulden't it be something like:
#ifndef __USE_GNU #define __USE_GNU 1 #endif before including the netdb.h ? -- Brisa Francesco Via Gabelli 16 22077 Olgiate Comasco (CO) http://brisa.homelinux.net [email protected] ________ ______ / ____/ / / ____/___ ____ ___ ____ / / __/ / ______ / / / __ \/ __ `__ \/ __ \ / /_/ / /___ /_____/ / /___/ /_/ / / / / / / /_/ / \____/_____/ \____/\____/_/ /_/ /_/\____/ http://www.gl-como.it My public gpg key: http://minsky.surfnet.nl:11371/pks/lookup?op=get&search=0xC67DC12DC4361693 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

