Bugzilla Bug 322427: removed a very old workaround for a zero-size array in NSPRPUB_PRE_4_2_CLIENT_BRANCH
authorwtchang%redhat.com
Mon, 09 Jan 2006 21:47:47 +0000
branchNSPRPUB_PRE_4_2_CLIENT_BRANCH
changeset 3541 7dbeb3da5bbbe85082afb5fe62ae7b6316f3f8c7
parent 3539 97f15027a5393ccab3765a61edf926c110991305
child 3543 06c3f234380be0dbd989d2c49935348df5085f9e
push idunknown
push userunknown
push dateunknown
bugs322427
Bugzilla Bug 322427: removed a very old workaround for a zero-size array in <sys/socket.h> on Linux. r=kengert. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
pr/include/prinet.h
--- a/pr/include/prinet.h
+++ b/pr/include/prinet.h
@@ -55,20 +55,16 @@
  *     This file is intended to be included by nspr20 public header
  *     files, such as prio.h.  One should not include this file directly.
  */
 
 #ifndef prinet_h__
 #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(), ... */
 #ifdef XP_OS2
 #include <sys/ioctl.h>
 #endif
 #ifdef XP_UNIX
 #ifdef AIX