summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-09-17 05:10:33 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-09-17 05:10:33 +0000
commit6616146698834eb99d1413b6ca400bc47aa0d217 (patch)
treeba8ff12930df24d11dca06001ceecf047f1efb3a
parenta511b70f44378368ebf0db5479b66a82dee2ca4f (diff)
Symbol names are prepended with an underscore on CYGWIN as well.
X.Org Bugzilla: 1079 Submitted by: Alexander Gottwald <ago@freedesktop.org>
-rw-r--r--src/mesa/tnl/t_vtx_x86_gcc.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_vtx_x86_gcc.S b/src/mesa/tnl/t_vtx_x86_gcc.S
index fcc69f1d0d..5f79197f7e 100644
--- a/src/mesa/tnl/t_vtx_x86_gcc.S
+++ b/src/mesa/tnl/t_vtx_x86_gcc.S
@@ -31,15 +31,15 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
* Daniel Borca <dborca@yahoo.com>
*/
-#if defined (__DJGPP__) || defined (__MINGW32__)
+#if defined (__DJGPP__) || defined (__MINGW32__) || defined (__CYGWIN__)
#define GLOBL( x ) \
.globl _##x; \
_##x:
-#else /* !defined (__DJGPP__) && !defined (__MINGW32__) */
+#else /* !defined (__DJGPP__) && !defined (__MINGW32__) && !defined (__CYGWIN__) */
#define GLOBL( x ) \
.globl x; \
x:
-#endif /* !defined (__DJGPP__) && !defined (__MINGW32__) */
+#endif /* !defined (__DJGPP__) && !defined (__MINGW32__) && !defined (__CYGWIN__) */
#if !defined (STDCALL_API)