summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/generic.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/generic.h b/include/generic.h
index 243e8a7..08af5f1 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -17,11 +17,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: generic.h,v 1.35 2005-11-13 13:43:21 pixel Exp $ */
+/* $Id: generic.h,v 1.36 2006-02-02 14:09:48 pixel Exp $ */
#ifndef __GENERIC_H__
#define __GENERIC_H__
+#ifdef _WIN32
+// 4996 = 'foobar' was declared deprecated.
+// 4244, 4267 = 'foobar': conversion from 'foo' to 'bar', possible loss of data.
+#pragma warning(disable:4996 4244 4267)
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>