glapi: Use GetProcAddress instead of dlsym on Windows.
authorVinson Lee <vlee@freedesktop.org>
Tue, 10 Jun 2014 01:07:07 +0000 (18:07 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 15 Jul 2014 05:21:10 +0000 (22:21 -0700)
commite945a19b35025c962131b2c4b7393461445f08f2
treea3f9da6553e6a0a5cd466ff7e49e1d3c2342ae41
parentc25fe88ebf0939ac1972cc0994819c27408ca59e
glapi: Use GetProcAddress instead of dlsym on Windows.

This patch fixes this MinGW build error.

glapi_gentable.c: In function '_glapi_create_table_from_handle':
glapi_gentable.c:123:9: error: implicit declaration of function 'dlsym' [-Werror=implicit-function-declaration]
         *procp = dlsym(handle, symboln);
         ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Acked-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/gen/gl_gentable.py