cvs: php4 /ext/gd/libgd gd.h
| From: | Edin Kadribasic | Date: | Fri, 14 Jun 2002 14:48:34 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12363@lists.php.net to get a copy of this message | ||
edink Fri Jun 14 10:48:34 2002 EDT
Modified files:
/php4/ext/gd/libgd gd.h
Log:
Use some more sane paths for win32 version.
Index: php4/ext/gd/libgd/gd.h
diff -u php4/ext/gd/libgd/gd.h:1.2 php4/ext/gd/libgd/gd.h:1.3
--- php4/ext/gd/libgd/gd.h:1.2 Sun Apr 21 09:48:22 2002
+++ php4/ext/gd/libgd/gd.h Fri Jun 14 10:48:33 2002
@@ -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