diff --git a/src/Platform.h b/src/Platform.h index 32d613d03..4a08a34fe 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -101,8 +101,8 @@ cc_bool DynamicLib_GetAll(void* lib, const struct DynamicLibSym* syms, int count #define _CRTDBG_MAP_ALLOC -#include #include +#include /* Allocates a block of memory, with undetermined contents. Returns NULL on allocation failure. */ #define Mem_TryAlloc(numElems, elemsSize) malloc(numElems * elemsSize) diff --git a/src/Program.c b/src/Program.c index ebd6b3143..afbe2c52d 100644 --- a/src/Program.c +++ b/src/Program.c @@ -106,9 +106,9 @@ static int Program_Run(int argc, char** argv) { int argsCount = Platform_GetCommandLineArgs(argc, argv, args); #ifdef _MSC_VER /* NOTE: Make sure to comment this out before pushing a commit */ - //cc_string rawArgs = String_FromConst("UnknownShadow200 fffff 127.0.0.1 25565"); + cc_string rawArgs = String_FromConst("UnknownShadow200 fffff 127.0.0.1 25565"); //cc_string rawArgs = String_FromConst("UnknownShadow200"); - //argsCount = String_UNSAFE_Split(&rawArgs, ' ', args, 4); + argsCount = String_UNSAFE_Split(&rawArgs, ' ', args, 4); #endif if (argsCount == 0) {