mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
mesa: remove BUILD_FOR_SNAP bits
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
5d5d63d63c
commit
61ec037c61
2 changed files with 5 additions and 7 deletions
|
|
@ -92,7 +92,7 @@ extern "C" {
|
|||
/**
|
||||
* Disable assorted warnings
|
||||
*/
|
||||
#if !defined(OPENSTEP) && (defined(_WIN32) && !defined(__CYGWIN__)) && !defined(BUILD_FOR_SNAP)
|
||||
#if !defined(OPENSTEP) && (defined(_WIN32) && !defined(__CYGWIN__))
|
||||
# if !defined(__GNUC__) /* mingw environment */
|
||||
# pragma warning( disable : 4068 ) /* unknown pragma */
|
||||
# pragma warning( disable : 4710 ) /* function 'foo' not inlined */
|
||||
|
|
@ -198,7 +198,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
|
|||
|
||||
|
||||
|
||||
#if !defined(CAPI) && defined(_WIN32) && !defined(BUILD_FOR_SNAP)
|
||||
#if !defined(CAPI) && defined(_WIN32)
|
||||
#define CAPI _cdecl
|
||||
#endif
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
|
|||
* than GNU C
|
||||
*/
|
||||
#ifndef _ASMAPI
|
||||
#if defined(_WIN32) && !defined(BUILD_FOR_SNAP)/* was: !defined( __GNUC__ ) && !defined( VMS ) && !defined( __INTEL_COMPILER )*/
|
||||
#if defined(_WIN32)
|
||||
#define _ASMAPI __cdecl
|
||||
#else
|
||||
#define _ASMAPI
|
||||
|
|
@ -239,9 +239,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
|
|||
* ASSERT macro
|
||||
*/
|
||||
#if !defined(_WIN32_WCE)
|
||||
#if defined(BUILD_FOR_SNAP) && defined(CHECKED)
|
||||
# define ASSERT(X) _CHECK(X)
|
||||
#elif defined(DEBUG)
|
||||
#if defined(DEBUG)
|
||||
# define ASSERT(X) assert(X)
|
||||
#else
|
||||
# define ASSERT(X)
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__)) && !defined(BUILD_FOR_SNAP)
|
||||
#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
|
||||
# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
|
||||
# define WGLAPI __declspec(dllexport)
|
||||
# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue