16 lines
663 B
Text
16 lines
663 B
Text
|
Fix build with swig 4.1.0
|
||
|
cf https://reviews.llvm.org/D134877
|
||
|
cf https://bugzilla.redhat.com/show_bug.cgi?id=2128646
|
||
|
Index: tools/lldb/bindings/interfaces.swig
|
||
|
--- tools/lldb/bindings/interfaces.swig.orig
|
||
|
+++ tools/lldb/bindings/interfaces.swig
|
||
|
@@ -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"
|