diff options
-rw-r--r-- | src/xdemos/glinfo_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c index e6517d7b..3cbe4edc 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. |