summaryrefslogtreecommitdiffstats
path: root/src/xdemos/glinfo_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdemos/glinfo_common.c')
-rw-r--r--src/xdemos/glinfo_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
index e6517d7..3cbe4ed 100644
--- a/src/xdemos/glinfo_common.c
+++ b/src/xdemos/glinfo_common.c
@@ -25,6 +25,10 @@
#include <string.h>
#include "glinfo_common.h"
+#ifdef _WIN32
+#define snprintf _snprintf
+#endif
+
/**
* Return the GL enum name for a numeric value.