Skip to content

Commit

Permalink
Use the CMake supplied source dir if available.
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacio committed Sep 29, 2012
1 parent 4f1c6bd commit 53826c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/luanode.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit 53826c6

Please sign in to comment.