summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-11 08:38:09 -0600
committerBrian Paul <[email protected]>2015-03-12 07:52:45 -0600
commitf8ed0bbfef7b8e8098cb3263a196689dbd280758 (patch)
tree1b0a79c603d89532aa0875abb5dfe4b111eb699f /src/mesa/main/compiler.h
parent09ffa04cd9c560b7a8c6d8ac80e3d59c49c5ef70 (diff)
mesa: remove _ASMAPI, ASMAPIP
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h19
1 files changed, 0 insertions, 19 deletions
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.