From f8ed0bbfef7b8e8098cb3263a196689dbd280758 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 11 Mar 2015 08:38:09 -0600 Subject: mesa: remove _ASMAPI, ASMAPIP Reviewed-by: Ian Romanick --- src/mesa/main/compiler.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 6fded883613..b9f808efb36 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -113,25 +113,6 @@ extern "C" { #define LE32_TO_CPU( x ) CPU_TO_LE32( x ) - -/** - * Create a macro so that asm functions can be linked into compilers other - * than GNU C - */ -#ifndef _ASMAPI -#if defined(_WIN32) -#define _ASMAPI __cdecl -#else -#define _ASMAPI -#endif -#ifdef PTR_DECL_IN_FRONT -#define _ASMAPIP * _ASMAPI -#else -#define _ASMAPIP _ASMAPI * -#endif -#endif - - /** * LONGSTRING macro * gcc -pedantic warns about long string literals, LONGSTRING silences that. -- cgit v1.2.3