summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-25 14:16:01 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-25 14:16:01 (GMT)
commitdc88a1b81befe574228c00712530a53ce9245c60 (patch)
treec56b377de9b01f78063c6013b9e9eb464258fb37
parent2d9ab8101ca2d287b7b033fc4c3057f56d9c5068 (diff)
Only use __extension__ from GNU compilers
-rw-r--r--include/tng_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tng_io.h b/include/tng_io.h
index ce56dd5..96d9fc1 100644
--- a/include/tng_io.h
+++ b/include/tng_io.h
@@ -243,7 +243,9 @@ typedef int int32_t;
# if __WORDSIZE == 64
typedef long int int64_t;
# else
+#ifdef __GNUC__
__extension__
+#endif
typedef long long int int64_t;
# endif
#endif
@@ -257,7 +259,9 @@ typedef unsigned int uint32_t;
#if __WORDSIZE == 64
typedef unsigned long int uint64_t;
#else
+#ifdef __GNUC__
__extension__
+#endif
typedef unsigned long long int uint64_t;
#endif
contact: Jan Huwald // Impressum