Changeset 213

Show
Ignore:
Timestamp:
10/04/2006 12:50:01 AM (2 years ago)
Author:
moo
Message:

fix undefined symnbol max

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r212 r213  
    88#undef NDEBUG 
    99#include "assert.h" 
     10 
     11#ifndef max 
     12#define max(a, b) ((a) < (b) ? (b) : (a)) 
     13#endif 
    1014 
    1115#ifndef ZEND_VM_SET_OPCODE_HANDLER 
  • trunk/xcache.c

    r212 r213  
    6666    } \ 
    6767} while(0) 
    68  
    69 #ifndef max 
    70 #define max(a, b) ((a) < (b) ? (b) : (a)) 
    71 #endif 
    7268 
    7369/* }}} */