You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
222 B
17 lines
222 B
11 years ago
|
#if defined(_WIN32)
|
||
|
# include <windows.h>
|
||
|
#else
|
||
|
# include <unistd.h>
|
||
|
#endif
|
||
|
|
||
|
/* sleeps for 0.1 second */
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
#if defined(_WIN32)
|
||
|
Sleep(100);
|
||
|
#else
|
||
|
usleep(100 * 1000);
|
||
|
#endif
|
||
|
return 0;
|
||
|
}
|