]> granicus.if.org Git - php/commitdiff
Use some more sane paths for win32 version.
authorEdin Kadribasic <edink@php.net>
Fri, 14 Jun 2002 14:48:33 +0000 (14:48 +0000)
committerEdin Kadribasic <edink@php.net>
Fri, 14 Jun 2002 14:48:33 +0000 (14:48 +0000)
ext/gd/libgd/gd.h

index 8dfb301e024c1644c7a8ec0b7b5075f7854dd592..9f6718564998d61c58954b21fc259dd643423907 100644 (file)
@@ -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