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: | run: |
gcc --version gcc --version
.\make.bat -gcc .\make.bat -gcc
- name: Fixed tests
run: |
.\v.exe test-fixed
# - name: Test # - name: Test
# run: | # run: |
# .\v.exe -silent test-compiler # .\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_gt(a, b) (a > b)
#define macro_f32_ge(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 =================================*/ //================================== GLOBALS =================================*/
byte g_str_buf[1024]; byte g_str_buf[1024];
int load_so(byteptr); int load_so(byteptr);