From 9dfbf7478534acc10cbc4047686178e194c884af Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Mon, 26 Dec 2005 02:53:23 +0000 Subject: [PATCH] [_WIN32]: Add #ifndef __GNUC__ around the pragma as pragma is not supported by gcc. --- include/misc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/misc.h b/include/misc.h index ae17dd41..b5e327da 100644 --- a/include/misc.h +++ b/include/misc.h @@ -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 #include