summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-06-14 14:48:33 +0000
committerEdin Kadribasic <edink@php.net>2002-06-14 14:48:33 +0000
commit7e44ab0308d1606f2b3e1a24fa9f256c39ef8cc4 (patch)
tree19ec6c5d2e1e9313908bfce3e8d4d88350a2df9b
parentcf8166ee9009f1f9adf851cd2b6ff211ccb51694 (diff)
downloadphp-git-7e44ab0308d1606f2b3e1a24fa9f256c39ef8cc4.tar.gz
Use some more sane paths for win32 version.
-rw-r--r--ext/gd/libgd/gd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.h b/ext/gd/libgd/gd.h
index 8dfb301e02..9f67185649 100644
--- a/ext/gd/libgd/gd.h
+++ b/ext/gd/libgd/gd.h
@@ -5,9 +5,15 @@
extern "C" {
#endif
+#ifndef WIN32
/* default fontpath for unix systems */
#define DEFAULT_FONTPATH "/usr/share/fonts/truetype"
#define PATHSEPARATOR ":"
+#else
+/* default fontpath for windows systems */
+#define DEFAULT_FONTPATH "c:\\winnt\\fonts"
+#define PATHSEPARATOR ";"
+#endif
/* gd.h: declarations file for the graphic-draw module.
* Permission to use, copy, modify, and distribute this software and its