Mesa (master): mapi: ENTRY_CURRENT_TABLE_GET should be stringified.

Chia-I Wu olv at kemper.freedesktop.org
Sat Jan 22 04:04:21 UTC 2011


Module: Mesa
Branch: master
Commit: 3f04314ae2659748c8cf73ec649a035bc9e01597
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f04314ae2659748c8cf73ec649a035bc9e01597

Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Jan 21 16:56:55 2011 +0800

mapi: ENTRY_CURRENT_TABLE_GET should be stringified.

So that it can be renamed to _glapi_get_dispatch.

---

 src/mapi/mapi/entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mapi/mapi/entry.c b/src/mapi/mapi/entry.c
index f378ccf..3d9168a 100644
--- a/src/mapi/mapi/entry.c
+++ b/src/mapi/mapi/entry.c
@@ -37,7 +37,7 @@
 #ifdef MAPI_MODE_BRIDGE
 #define ENTRY_CURRENT_TABLE_GET "_glapi_get_dispatch"
 #else
-#define ENTRY_CURRENT_TABLE_GET "u_current_get_internal"
+#define ENTRY_CURRENT_TABLE_GET U_STRINGIFY(u_current_get_internal)
 #endif
 
 #if defined(USE_X86_ASM) && defined(__GNUC__)




More information about the mesa-commit mailing list