summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-11 07:55:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-01-11 07:55:27 +0000
commita9c4c9041bd8ee877e062f93496a03d3c767d6e4 (patch)
treebe7e553d1463426a284ad8c0588e9e717cfcf7b5 /st.c
parentfb1369446bbe1f53f4144ba12f76b89f1a542835 (diff)
1.2.1 stable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index ada4fa1489..13f6558111 100644
--- a/st.c
+++ b/st.c
@@ -41,7 +41,10 @@ void *xcalloc();
void *xrealloc();
static void rehash();
+#ifndef max
#define max(a,b) ((a) > (b) ? (a) : (b))
+#endif
+
#define alloc(type) (type*)xmalloc((unsigned)sizeof(type))
#define Calloc(n,s) (char*)xcalloc((n),(s))