summaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-16 09:34:57 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-16 09:34:57 +0000
commit65cee25926ef6815fd1148aab6c047d70c0af304 (patch)
tree13df1d3560a85b86537dcaa32af351b3f93ecefc /gcc/machmode.h
parentd122429113a32dd1d2c1538f770438527d78ac63 (diff)
downloadgcc-65cee25926ef6815fd1148aab6c047d70c0af304.tar.gz
* cccp.c: Don't define MIN/MAX anymore.
* cpplib.c: Likewise. * machmode.h: Likewise. * system.h: Provide definitions for MIN/MAX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24339 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 8f2ed9539e1..2e2eb15d553 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -22,17 +22,7 @@ Boston, MA 02111-1307, USA. */
#define HAVE_MACHINE_MODES
/* Strictly speaking, this isn't the proper place to include these definitions,
- but this file is included by every GCC file.
-
- Some systems define these in, e.g., param.h. We undefine these names
- here to avoid the warnings. We prefer to use our definitions since we
- know they are correct. */
-
-#undef MIN
-#undef MAX
-
-#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
-#define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
+ but this file is included by every GCC file. */
/* Find the largest host integer type and set its size and type. */