summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@freedesktop.org>2010-07-21 13:11:19 -0700
committerIan Romanick <idr@freedesktop.org>2010-07-21 13:12:02 -0700
commit6d26266c3b15ed00fee48fee1e19067cc7aac58f (patch)
treea0d0bd9d429d4aa803e91acc33f6cf6eab919f1f
parent502c04f6fd3cd8941b9c66134d28a908bf29016c (diff)
Set default HAVE_ macros for Windows buildsglu3-0.9
-rw-r--r--src/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index afe64fa..4166694 100644
--- a/src/system.h
+++ b/src/system.h
@@ -2,6 +2,11 @@
#include "config.h"
#endif
+#ifdef _WIN32
+#define HAVE_FOPEN_S
+#define HAVE_WGL
+#endif
+
#ifndef HAVE_STRTOF
#define strtof(_a, _b) ((float) strtod(_a, _b))
#endif