From a65902f52cde115ec5b42827ad6773b38c1e64e3 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 18 Jan 2011 22:19:58 +0000 Subject: usleep is not defined in windows --- libXaw/src/TextAction.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libXaw') 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 */ -- cgit v1.2.3