diff --git a/binding.gyp b/binding.gyp index 7801d88..3207117 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,4 +1,21 @@ { + 'conditions': [ + ['OS=="win"', { + 'variables': { + 'has_glfw': 'true', + 'has_nexus': '', + 'has_bcm': '', + 'has_raspbian': '' + } + }, { # 'OS!="win"' + 'variables': { + 'has_glfw': '=4.0.0" }, diff --git a/src/glew/gles2glewimpl.cc b/src/glew/gles2glewimpl.cc index 8552de8..d1bfc8d 100644 --- a/src/glew/gles2glewimpl.cc +++ b/src/glew/gles2glewimpl.cc @@ -1,7 +1,9 @@ #include #include #include +#ifndef _WIN32 #include +#endif #include #include "../gles2impl.h"