On Tue, Mar 10, 2015 at 6:44 PM, Brian Paul <bri...@vmware.com> wrote: > --- > src/mesa/main/compiler.h | 21 --------------------- > src/util/macros.h | 20 ++++++++++++++++++++ > 2 files changed, 20 insertions(+), 21 deletions(-) > > diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h > index f56dc3e..b0d8c8f 100644 > --- a/src/mesa/main/compiler.h > +++ b/src/mesa/main/compiler.h > @@ -113,27 +113,6 @@ extern "C" { > #define LE32_TO_CPU( x ) CPU_TO_LE32( x ) > > > - > -/** > - * Use __cdecl to match gcc calling convention for caller stack cleanup > - * so we can use the same assembly / codegen code on all platforms. > - */ > -#if !defined(_MSC_VER) > -#define __cdecl > -#endif > - > - > - > -/** > - * LONGSTRING macro > - * gcc -pedantic warns about long string literals, LONGSTRING silences that. > - */ > -#if !defined(__GNUC__) > -# define LONGSTRING > -#else > -# define LONGSTRING __extension__ > -#endif > -
This macro is only used in gl_enums.py. We might just move it there. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev