diff options
author | cls%seawood.org <devnull@localhost> | 1999-09-12 14:16:20 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-09-12 14:16:20 +0000 |
commit | e576f7a0850927a4f99c40522b08cd4533c87470 (patch) | |
tree | b2e75011ff471679d2ec81f6979528a21b8a7cd9 | |
parent | 506b8841a161a93259952b52f23459e49bc49fab (diff) | |
download | nspr-hg-unlabeled-3.6.24.tar.gz |
define __STRICT_ANSI__ for linux to suppress useless warnings when compiling mozillaunlabeled-3.6.24
-rw-r--r-- | pr/include/prinet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pr/include/prinet.h b/pr/include/prinet.h index 3d40920e..440352ed 100644 --- a/pr/include/prinet.h +++ b/pr/include/prinet.h @@ -41,7 +41,10 @@ #define prinet_h__ #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) - +#ifdef linux +#undef __STRICT_ANSI__ +#define __STRICT_ANSI__ +#endif #include <sys/types.h> #include <sys/socket.h> /* AF_INET */ #include <netinet/in.h> /* INADDR_ANY, ..., ntohl(), ... */ |