mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
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 <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
1451bcb125
commit
d5db27706c
1 changed files with 0 additions and 10 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue