summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/lldb.swig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/scripts/lldb.swig b/lldb/scripts/lldb.swig
index 95c409edd4e..16177f83301 100644
--- a/lldb/scripts/lldb.swig
+++ b/lldb/scripts/lldb.swig
@@ -97,6 +97,7 @@
%}
/* Various liblldb typedefs that SWIG needs to know about. */
+#define __extension__ /* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h. */
%include <stdint.h>
%include "lldb/lldb-defines.h"
%include "lldb/lldb-enumerations.h"
OpenPOWER on IntegriCloud