Changeset 305 for trunk/mmap.c


Ignore:
Timestamp:
2006-12-08T17:11:19+01:00 (7 years ago)
Author:
moo
Message:

TRACE() instead of ifdef/fprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mmap.c

    r302 r305  
    1  
    2 #undef ALLOC_DEBUG 
    31 
    42#include <stdio.h> 
     
    3432#define XC_SHM_IMPL 
    3533#include "xc_shm.h" 
     34#include "utils.h" 
    3635 
    3736#ifndef max 
     
    5554}; 
    5655 
    57 #undef NDEBUG 
    58 #ifdef ALLOC_DEBUG 
    59 #   define inline 
    60 #else 
    61 #   define NDEBUG 
    62 #endif 
    63 #include <assert.h> 
    6456/* }}} */ 
    6557#define CHECK(x, e) do { if ((x) == NULL) { zend_error(E_ERROR, "XCache: " e); goto err; } } while (0) 
Note: See TracChangeset for help on using the changeset viewer.