diff options
author | Brian Paul <[email protected]> | 2015-03-03 09:01:03 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-04 08:33:48 -0700 |
commit | 5bebd7099ab22c6f1498cd928170561718d6ff36 (patch) | |
tree | 0c7f8c9c773312d1a753974825e40064222a2397 /src/gallium | |
parent | 25656753d765680ea4a592ff812deac132e2262d (diff) |
mesa: consolidate PUBLIC macro definition
Define the macro in src/util/macros.h rather than in two different
places. Note that USED isn't actually used anywhere at this time.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/include/pipe/p_compiler.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index cc4f4447ce7..0e953695b52 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -111,18 +111,6 @@ typedef unsigned char boolean; #endif -/* Function visibility */ -#ifndef PUBLIC -# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) -# define PUBLIC __attribute__((visibility("default"))) -# elif defined(_MSC_VER) -# define PUBLIC __declspec(dllexport) -# else -# define PUBLIC -# endif -#endif - - /* XXX: Use standard `__func__` instead */ #ifndef __FUNCTION__ # define __FUNCTION__ __func__ |