lldb-swig
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 17 Feb 2023 11:57:29 +0000 (11:57 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 17 Feb 2023 11:57:29 +0000 (11:57 +0000)
Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-swig.diff

lldb/bindings/CMakeLists.txt
lldb/bindings/interfaces.swig

index c8aa0bcf968178c333451defcd67c26a9601f1cf..9eed2f1e6299945231b56cbc99e5f5c4d615ab88 100644 (file)
@@ -26,8 +26,6 @@ set(SWIG_COMMON_FLAGS
   -features autodoc
   -I${LLDB_SOURCE_DIR}/include
   -I${CMAKE_CURRENT_SOURCE_DIR}
-  -D__STDC_LIMIT_MACROS
-  -D__STDC_CONSTANT_MACROS
   ${DARWIN_EXTRAS}
 )
 
index c9a6d0f06056864281b42ac9511de00bf7a43c29..021c7683d1709b54021597312a50e510ead78ec6 100644 (file)
@@ -1,8 +1,5 @@
 /* Various liblldb typedefs that SWIG needs to know about.  */
 #define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */
-/* The ISO C99 standard specifies that in C++ implementations limit macros such
-   as INT32_MAX should only be defined if __STDC_LIMIT_MACROS is. */
-#define __STDC_LIMIT_MACROS
 %include "stdint.i"
 
 %include "lldb/lldb-defines.h"