Devmode and things to get linux version working

This commit is contained in:
sam-astro 2022-01-15 23:01:54 -05:00
parent b3c9e2f2e0
commit 6018e9f4f0

View File

@ -26,7 +26,7 @@
#include "SLB.h" #include "SLB.h"
#define DEVELOPER_MESSAGES false #define DEVELOPER_MESSAGES true
#define EXAMPLE_PROJECT false #define EXAMPLE_PROJECT false
using namespace std; using namespace std;
@ -647,7 +647,7 @@ int main(int argc, char* argv[])
#if defined(__unix__) #if defined(__unix__)
chdir(projectDirectory.c_str()); chdir(projectDirectory.c_str());
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
LPCSTR s = projectDirectory.c_str(); LPCWSTR s = wide.c_str();
SetCurrentDirectory(s); SetCurrentDirectory(s);
#endif #endif