From dc72e7f3c2dfda9d476793ba657b1c791380619b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 9 Apr 2016 22:07:14 +0200 Subject: [PATCH] - 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. --- src/CMakeLists.txt | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 17229da39..690020249 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -555,22 +555,6 @@ if( UNIX ) endif() endif() -CHECK_CXX_SOURCE_COMPILES( - "#include - 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 - 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 if( BACKPATCH )