aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapitemp.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-07 06:57:11 +0100
committerJosé Fonseca <[email protected]>2010-05-07 06:57:11 +0100
commit5569faf05abd550b81649f3961c743448e708825 (patch)
treeb5698dea4d15c39ae2a760f5f041815e6bd14491 /src/mapi/glapi/glapitemp.h
parent80c8c891c9272a9a022335e61fa4c3514bb50df8 (diff)
mapi: Avoid Data Execution Prevention on windows.
Diffstat (limited to 'src/mapi/glapi/glapitemp.h')
-rw-r--r--src/mapi/glapi/glapitemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/glapitemp.h b/src/mapi/glapi/glapitemp.h
index 3ed337f8254..92835b9afc2 100644
--- a/src/mapi/glapi/glapitemp.h
+++ b/src/mapi/glapi/glapitemp.h
@@ -27,7 +27,7 @@
*/
-# if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
+# if (defined(__GNUC__) && !defined(__MINGW32__)) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
# define HIDDEN __attribute__((visibility("hidden")))
# else
# define HIDDEN