summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-28 22:01:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-28 22:01:47 +0000
commit5e83c2a081f4806c2ee0ecc9dd7f36feb4b2b20a (patch)
tree049138edb23dbaf091af061037735a3166ce9a7f
parent938014f8501738be46fae03a8bd5c336b4f94431 (diff)
tweak the #if test for defining _ASMAPI (fixes IRIX problem)
-rw-r--r--src/mesa/main/glheader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index a1dc0193039..a75c65dd4aa 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -20,9 +20,9 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -228,7 +228,7 @@ typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESC
* than GNU C
*/
#ifndef _ASMAPI
-#if !defined( __GNUC__ ) && !defined( VMS ) && !defined( __INTEL_COMPILER )
+#if defined(WIN32) && !defined(BUILD_FOR_SNAP)/* was: !defined( __GNUC__ ) && !defined( VMS ) && !defined( __INTEL_COMPILER )*/
#define _ASMAPI __cdecl
#else
#define _ASMAPI