should fix bugs where the ttf functions won't
find the font in the actual working dir
# like under windows :)
/* $Id$ */
-#if WIN32|WINNT
+#include "php.h"
+
+#if PHP_WIN32
#include "config.w32.h"
#else
#include "php_config.h"
#define RESOLUTION 72
/* Number of colors used for anti-aliasing */
+#undef NUMCOLORS
#define NUMCOLORS 4
/* Line separation as a factor of font height.
#define TRUE !FALSE
#endif
+#ifndef MAX
#define MAX(a,b) ((a)>(b)?(a):(b))
+#endif
+#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
typedef struct {
char *fontname; /* key */