[_WIN32]: Add #ifndef __GNUC__ around the pragma as pragma is not

supported by gcc.
This commit is contained in:
Ron Koenderink 2005-12-26 02:53:23 +00:00
parent ae24898e50
commit 9dfbf74785

View file

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