mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
interpolation: fix error on windows_gcc
This commit is contained in:
parent
b0018ed594
commit
02807aab43
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user