summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-12-16 00:01:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-12-16 00:01:06 +0000
commit4b33209a047ca30219362b1842bde0a0cdbf8ac8 (patch)
treec86359641d72ed3d8a4c4bd966e58464662ee19e /lldb/scripts
parent2c9d342f0426f0dbd7bb039e42a5ed1331f0a8d2 (diff)
downloadbcm5719-llvm-4b33209a047ca30219362b1842bde0a0cdbf8ac8.tar.gz
bcm5719-llvm-4b33209a047ca30219362b1842bde0a0cdbf8ac8.zip
Patch by Stephen Wilson to make Swig happy building on linux.
Pass the test suite on Mac OS X Snow Leopard. llvm-svn: 121924
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