aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-06-14 15:17:24 +0000
committermarha <marha@users.sourceforge.net>2010-06-14 15:17:24 +0000
commit1ceae771f1f16ef36c5083f5e678959b3b490c8f (patch)
tree4f66ecc20779e04a2a212de2d877e1391abc11a9 /xorg-server/glx
parentf9a9d9e67912e77e6bccb18ee7ef8fd4d32df867 (diff)
downloadvcxsrv-1ceae771f1f16ef36c5083f5e678959b3b490c8f.tar.gz
vcxsrv-1ceae771f1f16ef36c5083f5e678959b3b490c8f.tar.bz2
vcxsrv-1ceae771f1f16ef36c5083f5e678959b3b490c8f.zip
Solved compiler warnings
Diffstat (limited to 'xorg-server/glx')
-rw-r--r--xorg-server/glx/glxscreens.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/glx/glxscreens.c b/xorg-server/glx/glxscreens.c
index 3ba8a64fc..a8420c749 100644
--- a/xorg-server/glx/glxscreens.c
+++ b/xorg-server/glx/glxscreens.c
@@ -48,6 +48,10 @@
#include "glxext.h"
#include "protocol-versions.h"
+#ifdef _MSC_VER
+#define strdup _strdup
+#endif
+
static DevPrivateKeyRec glxScreenPrivateKeyRec;
#define glxScreenPrivateKey (&glxScreenPrivateKeyRec)