summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-16 15:16:34 +0000
committerEmil Velikov <[email protected]>2017-02-21 18:28:59 +0000
commitd5db27706c484727e50e62ea9c378ad9c762280c (patch)
tree88221e82f1b30e6b32975b1fb15f1734b50c48d1
parent1451bcb125720dd43ff16a4f3d9d834a39294976 (diff)
mesa: remove unneeded extern C {} wrapper
compiler.h defines a few mesa specific macros which are not C specific. This allows us to avoid buggy extern C { #include $system_header } constructs. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/main/compiler.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index c5ee7412b62..43a06b43139 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -41,11 +41,6 @@
#include "c99_compat.h" /* inline, __func__, etc. */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
/**
* Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN, and CPU_TO_LE32.
* Do not use these unless absolutely necessary!
@@ -78,9 +73,4 @@ extern "C" {
#define IEEE_ONE 0x3f800000
-#ifdef __cplusplus
-}
-#endif
-
-
#endif /* COMPILER_H */