Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use the CMake supplied source dir if available.

  • Loading branch information...
commit 53826c66c4cb59598eba599c7b9942310f464c5e 1 parent 4f1c6bd
Ignacio Burgueño authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/luanode.cpp
8 src/luanode.cpp
View
@@ -66,10 +66,10 @@ extern char **environ;
#define environ (*_NSGetEnviron())
#endif
-#ifdef _MSC_VER
-static const char* _SOURCE_PATH =
-#include "build_path.precomp"
-;
+#if !defined(_SOURCE_PATH) && defined(_MSC_VER)
+ static const char* _SOURCE_PATH =
+ #include "build_path.precomp"
+ ;
#endif
namespace LuaNode {
Please sign in to comment.
Something went wrong with that request. Please try again.