summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2013-04-23 07:49:25 +0200
committerPierre Joye <pierre.php@gmail.com>2013-04-23 07:49:25 +0200
commit9150e4ff8b40ed2c03106f3bf04383234857be8d (patch)
treee49c4f4930825f9f27d3876c64108575ce1deea9 /src
parentc60d9fe577ae8dad88e26344c4ceaa90da86e2f6 (diff)
downloadlibgd-9150e4ff8b40ed2c03106f3bf04383234857be8d.tar.gz
fix windows build
Diffstat (limited to 'src')
-rw-r--r--src/gd_xbm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gd_xbm.c b/src/gd_xbm.c
index a314c99..c7ef442 100644
--- a/src/gd_xbm.c
+++ b/src/gd_xbm.c
@@ -11,6 +11,10 @@
#include "gd_errors.h"
#include "gdhelpers.h"
+#ifdef _MSC_VER
+# define strcasecmp _stricmp
+#endif
+
#define MAX_XBM_LINE_SIZE 255
/* {{{ gdImagePtr gdImageCreateFromXbm */