2008-05-23 20:56:24 +00:00
|
|
|
#ifndef XMLRPC_C_UTIL_INT_H_INCLUDED
|
|
|
|
#define XMLRPC_C_UTIL_INT_H_INCLUDED
|
|
|
|
|
|
|
|
#include "util.h"
|
|
|
|
|
2008-05-28 16:38:32 +00:00
|
|
|
#ifndef MIN
|
2008-05-23 20:56:24 +00:00
|
|
|
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
2008-05-28 16:38:32 +00:00
|
|
|
#endif
|
|
|
|
#ifndef MAX
|
2008-05-23 20:56:24 +00:00
|
|
|
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
2008-05-28 16:38:32 +00:00
|
|
|
#endif
|
2008-05-23 20:56:24 +00:00
|
|
|
|
|
|
|
/* When we deallocate a pointer in a struct, we often replace it with
|
|
|
|
** this and throw in a few assertions here and there. */
|
|
|
|
#define XMLRPC_BAD_POINTER ((void*) 0xDEADBEEF)
|
|
|
|
|
|
|
|
#endif
|