summaryrefslogtreecommitdiff
path: root/src/mesa/main/macros.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-10-29 18:23:16 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-10-29 18:23:16 +0000
commitebb248aa5c018dc676d389221d76ed329059789e (patch)
treef393d59462e03f10a52076814a1aaea06abefc84 /src/mesa/main/macros.h
parent699bc7b73d2fede77d3290f66c1ec355afd0373e (diff)
more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
Diffstat (limited to 'src/mesa/main/macros.h')
-rw-r--r--src/mesa/main/macros.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h
index 05c80d1a15..45bb9cd226 100644
--- a/src/mesa/main/macros.h
+++ b/src/mesa/main/macros.h
@@ -1,4 +1,4 @@
-/* $Id: macros.h,v 1.11 2000/10/28 20:41:14 brianp Exp $ */
+/* $Id: macros.h,v 1.12 2000/10/29 18:23:16 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -37,35 +37,11 @@
#include "glheader.h"
-#ifdef DEBUG
-# define ASSERT(X) assert(X)
-#else
-# define ASSERT(X)
-#endif
-
-
-#if defined(__GNUC__)
-#define INLINE __inline__
-#elif defined(__MSC__)
-#define INLINE __inline
-#else
-#define INLINE
-#endif
-
-
/* Limits: */
#define MAX_GLUSHORT 0xffff
#define MAX_GLUINT 0xffffffff
-/* Some compilers don't like some of Mesa's const usage */
-#ifdef NO_CONST
-# define CONST
-#else
-# define CONST const
-#endif
-
-
/* Pi */
#ifndef M_PI
#define M_PI (3.1415926)