summaryrefslogtreecommitdiff
path: root/include/splay-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/splay-tree.h')
-rw-r--r--include/splay-tree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/splay-tree.h b/include/splay-tree.h
index 8a56a20cdc3..57a96c4a3de 100644
--- a/include/splay-tree.h
+++ b/include/splay-tree.h
@@ -41,7 +41,13 @@ extern "C" {
typedef unsigned long int libi_uhostptr_t;
typedef long int libi_shostptr_t;
#else
+#ifdef __GNUC__
+ __extension__
+#endif
typedef unsigned long long libi_uhostptr_t;
+#ifdef __GNUC__
+ __extension__
+#endif
typedef long long libi_shostptr_t;
#endif