diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-11 07:55:27 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-11 07:55:27 +0000 |
commit | a9c4c9041bd8ee877e062f93496a03d3c767d6e4 (patch) | |
tree | be7e553d1463426a284ad8c0588e9e717cfcf7b5 /st.c | |
parent | fb1369446bbe1f53f4144ba12f76b89f1a542835 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) |