]> git.tdb.fi Git - libs/gl.git/blobdiff - source/extension.cpp
Use the correct define to detect Windows
[libs/gl.git] / source / extension.cpp
index 51a84db695465038d0732df53f1d84c6e31cbb2c..2dc298c1f5105f13892d2d499567fd0112424a1e 100644 (file)
@@ -238,7 +238,7 @@ const Version &get_glsl_version()
 
 ExtFunc *get_proc_address(const string &name)
 {
-#if defined(WIN32)
+#if defined(_WIN32)
        return reinterpret_cast<ExtFunc *>(wglGetProcAddress(name.c_str()));
 #elif defined(__APPLE__)
        (void)name;