Changeset 335 for libcaca/trunk/src/io.c
- Timestamp:
- Jan 11, 2004, 2:45:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/io.c
r332 r335 48 48 # include <X11/keysym.h> 49 49 #endif 50 51 #include <unistd.h> 50 #if defined(USE_WIN32) 51 # include <windows.h> 52 #endif 52 53 53 54 #include "caca.h" … … 122 123 return event; 123 124 124 #if defined(HAVE_USLEEP) 125 usleep(10000); 126 #elif defined(HAVE_SLEEP) 127 Sleep(10); 128 #else 129 SLEEP 130 #endif 125 _caca_sleep(10000); 131 126 } 132 127 } … … 543 538 else 544 539 #endif 540 #if defined(USE_WIN32) 541 if(_caca_driver == CACA_DRIVER_WIN32) 542 { 543 return CACA_EVENT_NONE; 544 } 545 else 546 #endif 545 547 { 546 548 /* Dummy */
Note: See TracChangeset
for help on using the changeset viewer.