aboutsummaryrefslogtreecommitdiff
path: root/libXaw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-18 22:19:58 +0000
committermarha <marha@users.sourceforge.net>2011-01-18 22:19:58 +0000
commita65902f52cde115ec5b42827ad6773b38c1e64e3 (patch)
tree31e29f321af6ac19b8e05288e022519dd95998bc /libXaw
parent6dfc0b3199b004ee5928da0bdbc7760476b95ebd (diff)
downloadvcxsrv-a65902f52cde115ec5b42827ad6773b38c1e64e3.tar.gz
vcxsrv-a65902f52cde115ec5b42827ad6773b38c1e64e3.tar.bz2
vcxsrv-a65902f52cde115ec5b42827ad6773b38c1e64e3.zip
usleep is not defined in windows
Diffstat (limited to 'libXaw')
-rw-r--r--libXaw/src/TextAction.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libXaw/src/TextAction.c b/libXaw/src/TextAction.c
index 4db9cdf16..8f9fdd285 100644
--- a/libXaw/src/TextAction.c
+++ b/libXaw/src/TextAction.c
@@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group.
#define XawTextActionMaxHexChars 100
+#ifdef _MSC_VER
+#define usleep(time) Sleep(time)
+#endif
/*
* Prototypes
*/