~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sys.h

Cleanup around SAFEMALLOC

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
#define GETDATE_FIXEDLENGTH     16
128
128
 
129
129
        /* defines when allocating data */
130
 
#ifdef SAFEMALLOC
131
 
#else
132
130
#define my_checkmalloc()
133
131
#undef TERMINATE
134
132
#define TERMINATE(A,B) {}
135
 
#define QUICK_SAFEMALLOC
136
 
#define NORMAL_SAFEMALLOC
137
133
extern void *my_malloc(size_t Size,myf MyFlags);
138
134
#define my_malloc_ci(SZ,FLAG) my_malloc( SZ, FLAG )
139
135
extern void *my_realloc(void *oldpoint, size_t Size, myf MyFlags);
148
144
#define CALLER_INFO         /* nothing */
149
145
#define ORIG_CALLER_INFO    /* nothing */
150
146
#define TRASH(A,B) /* nothing */
151
 
#endif
152
147
 
153
148
#ifdef HAVE_ALLOCA
154
149
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)