Permalink
Browse files

sclang: enable internal server on Windows

  • Loading branch information...
1 parent 24fb7e4 commit 5fefc3aab254d4923fac247e2c002bb284623c82 @jleben jleben committed Feb 9, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −3 CMakeLists.txt
  2. +1 −1 lang/LangPrimSource/OSCData.cpp
View
@@ -185,9 +185,7 @@ option(NO_LIBSNDFILE "Disable soundfile functionality. (Not recommended.)" OFF)
option(NO_AVAHI "Disable Avahi support. (Not recommended.)" OFF)
-if(NOT WIN32)
- option(SCLANG_SERVER "Build with internal server." ON)
-endif()
+option(SCLANG_SERVER "Build with internal server." ON)
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
option(SC_WII "Build sclang with WII support" ON)
@@ -990,7 +990,7 @@ int prBootInProcessServer(VMGlobals *g, int numArgsPushed)
#elif !defined(_WIN32)
options.mSharedMemoryID = getpid();
#else
- options.mSharedMemoryID = GetCurrentProcessId()
+ options.mSharedMemoryID = GetCurrentProcessId();
#endif
gInternalSynthServer.mWorld = World_New(&options);

0 comments on commit 5fefc3a

Please sign in to comment.