[_WIN32]: Add #ifndef __GNUC__ around the pragma as pragma is not
supported by gcc.
This commit is contained in:
parent
ae24898e50
commit
9dfbf74785
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue