https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4b79367647834cca416233305c87b7ba7633d3b5

commit 4b79367647834cca416233305c87b7ba7633d3b5
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Mon Apr 29 10:02:13 2019 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Sat Jul 20 13:56:18 2019 +0200

    [CMAKE] Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF to fix build with GLIBCXX and 
our c++ headers
---
 sdk/cmake/gcc.cmake | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake
index 2e33676c1ff..b3db8626d07 100644
--- a/sdk/cmake/gcc.cmake
+++ b/sdk/cmake/gcc.cmake
@@ -177,6 +177,9 @@ endif()
 
 add_definitions(-D_inline=__inline)
 
+# Fix build with GLIBCXX + our c++ headers
+add_definitions(-D_GLIBCXX_HAVE_BROKEN_VSWPRINTF)
+
 # Alternative arch name
 if(ARCH STREQUAL "amd64")
     set(ARCH2 x86_64)

Reply via email to