diff options
| author | ruki <[email protected]> | 2025-12-03 00:29:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-03 00:29:27 +0800 |
| commit | 5cca7326533561f20fd54021721c8d71d890c38a (patch) | |
| tree | f0f7ef193ca3ea41ea4438d6e9643a1eaae276e4 /core/xmake.lua | |
| parent | c1459f60d084d8be5d967a4353087fce0384019a (diff) | |
update xmake.sh
Diffstat (limited to 'core/xmake.lua')
| -rw-r--r-- | core/xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua index 216eae3eb..31be4464c 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -25,8 +25,9 @@ add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno- add_defines("_GNU_SOURCE=1", "_FILE_OFFSET_BITS=64", "_LARGEFILE_SOURCE") -- ensure POSIX/XOPEN features are available on Solaris (for setenv, unsetenv, clock_gettime, etc.) +-- _XOPEN_SOURCE=600 implicitly sets _POSIX_C_SOURCE=200112L if is_plat("solaris") then - add_defines("_POSIX_C_SOURCE=200112L", "_XOPEN_SOURCE=600") + add_defines("_XOPEN_SOURCE=600") end -- add vectorexts |
