aboutsummaryrefslogtreecommitdiff
path: root/libXfont
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-19 08:47:07 +0000
committermarha <marha@users.sourceforge.net>2010-05-19 08:47:07 +0000
commitc7b63b852475dda818cc7b1baaf8e59df789a296 (patch)
treee101d3ad83398a8afcd29aa68ea4542d76c668c3 /libXfont
parent3d3d4c135e274216c560cbaa26221b8023cd11ca (diff)
downloadvcxsrv-c7b63b852475dda818cc7b1baaf8e59df789a296.tar.gz
vcxsrv-c7b63b852475dda818cc7b1baaf8e59df789a296.tar.bz2
vcxsrv-c7b63b852475dda818cc7b1baaf8e59df789a296.zip
Solved compile warning
Diffstat (limited to 'libXfont')
-rw-r--r--libXfont/src/builtins/dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libXfont/src/builtins/dir.c b/libXfont/src/builtins/dir.c
index bf351b147..9b0a1c720 100644
--- a/libXfont/src/builtins/dir.c
+++ b/libXfont/src/builtins/dir.c
@@ -25,6 +25,9 @@
#include <config.h>
#endif
#include "builtin.h"
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
static BuiltinDirPtr
BuiltinDirsDup (const BuiltinDirPtr a_dirs,