summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-05-08 08:01:05 +1000
committerTimothy Arceri <[email protected]>2017-05-09 11:21:03 +1000
commit34c5e58a6816ecfe9f944f5cf921261648324728 (patch)
treed371ce0dfca0d46b4a0174a73ca4ba0fdede5ead /src/gallium/include/pipe
parentf52e63069a3fad23e03d42306a42bd20f0159da3 (diff)
util: move ALWAYS_INLINE macro to util/macro.h
Also added clang check. macro.h is include by p_compiler.h so no other change is needed. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_compiler.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index 0d7b0149583..2869517389f 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -93,17 +93,6 @@ typedef unsigned char boolean;
#endif
#endif
-/* Forced function inlining */
-#ifndef ALWAYS_INLINE
-# ifdef __GNUC__
-# define ALWAYS_INLINE inline __attribute__((always_inline))
-# elif defined(_MSC_VER)
-# define ALWAYS_INLINE __forceinline
-# else
-# define ALWAYS_INLINE inline
-# endif
-#endif
-
/* XXX: Use standard `__func__` instead */
#ifndef __FUNCTION__