aboutsummaryrefslogtreecommitdiffstats
path: root/zahl/internals.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-05 21:11:43 +0200
committerMattias Andrée <maandree@kth.se>2016-05-05 21:13:16 +0200
commit9437becf6d8aa4d9a3872b2cd6b353dc4c90a1cb (patch)
tree84890cd284c538938614c90989ebc4a60991fcca /zahl/internals.h
parentOptimise and use __ around all compiler extensions (diff)
downloadlibzahl-9437becf6d8aa4d9a3872b2cd6b353dc4c90a1cb.tar.gz
libzahl-9437becf6d8aa4d9a3872b2cd6b353dc4c90a1cb.tar.bz2
libzahl-9437becf6d8aa4d9a3872b2cd6b353dc4c90a1cb.tar.xz
Optimisations
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--zahl/internals.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/zahl/internals.h b/zahl/internals.h
index b7cd230..e0aa248 100644
--- a/zahl/internals.h
+++ b/zahl/internals.h
@@ -2,11 +2,7 @@
#ifndef ZAHL_INLINE
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-# if defined(__GNUC__) || defined(__clang__)
-# define ZAHL_INLINE __attribute__((__always_inline__, __gnu_inline__)) static inline
-# else
-# define ZAHL_INLINE static inline
-# endif
+# define ZAHL_INLINE static inline
# else
# define ZAHL_INLINE static
# endif