mapi: ENTRY_CURRENT_TABLE_GET should be stringified.
authorChia-I Wu <olv@lunarg.com>
Fri, 21 Jan 2011 08:56:55 +0000 (16:56 +0800)
committerChia-I Wu <olv@lunarg.com>
Sat, 22 Jan 2011 03:58:38 +0000 (11:58 +0800)
So that it can be renamed to _glapi_get_dispatch.

src/mapi/mapi/entry.c

index f378ccf..3d9168a 100644 (file)
@@ -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__)