svn path=/trunk/; revision=11092
#include <stdlib.h>
#include <stdio.h>
+#ifndef max
#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
int
write_if_change(char* outbuf, char* filename)
#include <unistd.h>
#include <string.h>
#endif
-#ifndef WIN32
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
+#ifndef WIN32
#define DIR_SEPARATOR_CHAR '/'
#define DIR_SEPARATOR_STRING "/"
#else
#include <unistd.h>
#endif
#include <ctype.h>
-#ifndef WIN32
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
+#ifndef WIN32
#define DIR_SEPARATOR_CHAR '/'
#define DIR_SEPARATOR_STRING "/"
#else