tweak the #if test for defining _ASMAPI (fixes IRIX problem)

This commit is contained in:
Brian Paul 2004-01-28 22:01:47 +00:00
parent 938014f850
commit 5e83c2a081

View file

@ -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