summaryrefslogtreecommitdiff
path: root/contrib/intarray/_int.h
diff options
context:
space:
mode:
authorTom Lane2004-10-21 19:28:36 +0000
committerTom Lane2004-10-21 19:28:36 +0000
commit380bd04c1658795c77b3b808ee766347188fab5f (patch)
treecb654e3e510cb1974120cd4d3ea1984b30f3eb32 /contrib/intarray/_int.h
parenta171fc1a4f37e37c1e80fe3e92a96b2bd37c8f98 (diff)
Standardize on using the Min, Max, and Abs macros that are in our c.h file,
getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros.
Diffstat (limited to 'contrib/intarray/_int.h')
-rw-r--r--contrib/intarray/_int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h
index 3e702ca1afe..2231bdb095b 100644
--- a/contrib/intarray/_int.h
+++ b/contrib/intarray/_int.h
@@ -14,10 +14,6 @@
/* number ranges for compression */
#define MAXNUMRANGE 100
-#define max(a,b) ((a) > (b) ? (a) : (b))
-#define min(a,b) ((a) <= (b) ? (a) : (b))
-#define abs(a) ((a) < (0) ? -(a) : (a))
-
/* dimension of array */
#define NDIM 1