interpolation: fix error on windows_gcc

pull/4683/head
yuyi 2020-05-02 23:22:34 +08:00 committed by GitHub
parent b0018ed594
commit 02807aab43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -243,6 +243,9 @@ jobs:
run: |
gcc --version
.\make.bat -gcc
- name: Fixed tests
run: |
.\v.exe test-fixed
# - name: Test
# run: |
# .\v.exe -silent test-compiler

View File

@ -203,6 +203,21 @@ extern wchar_t **_wenviron;
#define macro_f32_gt(a, b) (a > b)
#define macro_f32_ge(a, b) (a >= b)
#if defined(__MINGW32__) || defined(__MINGW64__)
#undef PRId64
#undef PRIi64
#undef PRIo64
#undef PRIu64
#undef PRIx64
#undef PRIX64
#define PRId64 "lld"
#define PRIi64 "lli"
#define PRIo64 "llo"
#define PRIu64 "llu"
#define PRIx64 "llx"
#define PRIX64 "llX"
#endif
//================================== GLOBALS =================================*/
byte g_str_buf[1024];
int load_so(byteptr);