mirror of https://gitlab.com/nakst/essence
Enable building script engine on Windows MSYS platform
This commit is contained in:
parent
0a70170952
commit
e09790dae7
|
@ -467,7 +467,7 @@ uintptr_t HeapAllocate(ExecutionContext *context);
|
|||
|
||||
// --------------------------------- Platform layer definitions.
|
||||
|
||||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__)
|
||||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__) || defined(__MSYS__)
|
||||
#include <assert.h>
|
||||
#define Assert assert
|
||||
#endif
|
||||
|
@ -6807,7 +6807,7 @@ int ExternalCharacterToByte(ExecutionContext *context, Value *returnValue) {
|
|||
|
||||
// --------------------------------- Platform layer.
|
||||
|
||||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__)
|
||||
#if defined(_WIN32) || defined(__linux__) || defined(__APPLE__) || defined(__MSYS__)
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
|
|
Loading…
Reference in New Issue