]> git.pond.sub.org Git - empserver/commitdiff
[_WIN32]: Add #ifndef __GNUC__ around the pragma as pragma is not
authorRon Koenderink <rkoenderink@yahoo.ca>
Mon, 26 Dec 2005 02:53:23 +0000 (02:53 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Mon, 26 Dec 2005 02:53:23 +0000 (02:53 +0000)
supported by gcc.

include/misc.h

index ae17dd41ff51999e23fdc95657cd6a679874eeb6..b5e327da02a2583a6e4bad384082b5650ac823e3 100644 (file)
@@ -46,7 +46,9 @@ typedef unsigned int u_int;
 typedef long ssize_t;
 
 /* integral mismatch, due to misuse of sector short */
+#ifndef __GNUC__
 #pragma warning (disable : 4761 )
+#endif
 
 #include <windef.h>
 #include <io.h>