diff options
Diffstat (limited to 'uisimulator/usleep.h')
-rw-r--r-- | uisimulator/usleep.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/uisimulator/usleep.h b/uisimulator/usleep.h new file mode 100644 index 0000000000..c40363ef4a --- /dev/null +++ b/uisimulator/usleep.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* xscreensaver, Copyright (c) 1992, 1996 Jamie Zawinski <jwz@jwz.org> | ||
2 | * | ||
3 | * Permission to use, copy, modify, distribute, and sell this software and its | ||
4 | * documentation for any purpose is hereby granted without fee, provided that | ||
5 | * the above copyright notice appear in all copies and that both that | ||
6 | * copyright notice and this permission notice appear in supporting | ||
7 | * documentation. No representations are made about the suitability of this | ||
8 | * software for any purpose. It is provided "as is" without express or | ||
9 | * implied warranty. | ||
10 | */ | ||
11 | |||
12 | #ifndef __SCREENHACK_USLEEP_H__ | ||
13 | #define __SCREENHACK_USLEEP_H__ | ||
14 | |||
15 | extern void screenhack_usleep (unsigned long usecs); | ||
16 | |||
17 | #undef usleep | ||
18 | #define usleep(usecs) screenhack_usleep(usecs) | ||
19 | |||
20 | #endif /* __SCREENHACK_USLEEP_H__ */ | ||