projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We've had a mix of min, max from libpspp/misc.h and MIN, MAX from
[pspp-builds.git]
/
src
/
libpspp
/
misc.h
diff --git
a/src/libpspp/misc.h
b/src/libpspp/misc.h
index a1be9f9f236e77902f12079ac610b617f570ebed..16f16b97ae4309c64b9aa141004915480e893335 100644
(file)
--- a/
src/libpspp/misc.h
+++ b/
src/libpspp/misc.h
@@
-43,14
+43,6
@@
#include <ieeefp.h> /* Declares finite() under Solaris. */
#endif
#include <ieeefp.h> /* Declares finite() under Solaris. */
#endif
-#ifndef min
-#define min(A, B) ((A) < (B) ? (A) : (B))
-#endif
-
-#ifndef max
-#define max(A, B) ((A) > (B) ? (A) : (B))
-#endif
-
/* Clamps A to be between B and C. */
#define range(A, B, C) ((A) < (B) ? (B) : ((A) > (C) ? (C) : (A)))
/* Clamps A to be between B and C. */
#define range(A, B, C) ((A) < (B) ? (B) : ((A) > (C) ? (C) : (A)))