mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
- removed the check for VA_COPY from CMakeLists.txt.
This is because nothing uses va_copy anymore and it's a mandatory part of C++11, therefore always available.
This commit is contained in:
parent
1f1a0ca847
commit
dc72e7f3c2
1 changed files with 0 additions and 16 deletions
|
@ -555,22 +555,6 @@ if( UNIX )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
CHECK_CXX_SOURCE_COMPILES(
|
|
||||||
"#include <stdarg.h>
|
|
||||||
int main() { va_list list1, list2; va_copy(list1, list2); return 0; }"
|
|
||||||
HAS_VA_COPY )
|
|
||||||
if( NOT HAS_VA_COPY )
|
|
||||||
CHECK_CXX_SOURCE_COMPILES(
|
|
||||||
"#include <stdarg.h>
|
|
||||||
int main() { va_list list1, list2; __va_copy(list1, list2); return 0; }"
|
|
||||||
HAS___VA_COPY )
|
|
||||||
if( HAS___VA_COPY )
|
|
||||||
add_definitions( -Dva_copy=__va_copy )
|
|
||||||
else()
|
|
||||||
add_definitions( -DNO_VA_COPY )
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
|
|
||||||
if( BACKPATCH )
|
if( BACKPATCH )
|
||||||
|
|
Loading…
Reference in a new issue