diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-08-24 15:51:57 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-01-20 17:15:50 +0800 |
commit | 96c52d16c1716b8974b5421342f53f36cb80c10f (patch) | |
tree | 7f1ff34df0bb3b53b766e7f5f14b4240e132698e /src/mapi/mapi/entry_x86_tsd.h | |
parent | 6fc152f660ed995fb6c785b9e8e925bb1640532a (diff) |
mapi: u_current_table may be renamed.
When MAPI_MODE_GLAPI is defined, u_current_table is renamed to
_glapi_Dispatch or _glapi_tls_Dispatch. The ASM dispatchers should not
use hardcoded name.
Diffstat (limited to 'src/mapi/mapi/entry_x86_tsd.h')
-rw-r--r-- | src/mapi/mapi/entry_x86_tsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi/entry_x86_tsd.h b/src/mapi/mapi/entry_x86_tsd.h index 0a07ad7424..38742e77dc 100644 --- a/src/mapi/mapi/entry_x86_tsd.h +++ b/src/mapi/mapi/entry_x86_tsd.h @@ -43,7 +43,7 @@ __asm__(".text\n" func ":" #define STUB_ASM_CODE(slot) \ - "movl u_current_table, %eax\n\t" \ + "movl " ENTRY_CURRENT_TABLE ", %eax\n\t" \ "testl %eax, %eax\n\t" \ "je 1f\n\t" \ "jmp *(4 * " slot ")(%eax)\n" \ |