mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add -D__STDC_LIMIT_MACROS=1
for C++ code.
Without this, `UINT*_MAX` are not defined.
This commit is contained in:
parent
6e0ac337c9
commit
6f6c4dc2bd
|
@ -467,6 +467,7 @@ function(auto_test target)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if(BUILD_TOXAV)
|
if(BUILD_TOXAV)
|
||||||
|
add_definitions(-D__STDC_LIMIT_MACROS=1)
|
||||||
add_executable(auto_monolith_test
|
add_executable(auto_monolith_test
|
||||||
auto_tests/monolith_test.cpp
|
auto_tests/monolith_test.cpp
|
||||||
${ANDROID_CPU_FEATURES})
|
${ANDROID_CPU_FEATURES})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user