mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-05 17:47:30 +03:00
fix: added missing definitions so Carp can be used with TCC 32bit on Windows (#1267)
Co-authored-by: guberatsie <gunnar.bernhardt@siemens.com>
This commit is contained in:
parent
97c0b5a61b
commit
45b70852dc
@ -1,4 +1,11 @@
|
||||
#if defined _WIN32
|
||||
|
||||
#ifdef __TINYC__
|
||||
// missing definitions for tcc-0.9.27-win32-bin.zip => 32bit TCC
|
||||
#define CP_UTF8 65001
|
||||
#define strtof strtod
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#if !defined __CYGWIN__ && !defined __MINGW32__
|
||||
typedef intptr_t ssize_t;
|
||||
|
Loading…
Reference in New Issue
Block a user