#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) #define usleep(t) Sleep(t) #else #include <unistd.h> #define usleep(t) usleep(t) #endif
时间: 2024-10-17 07:26:50
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) #define usleep(t) Sleep(t) #else #include <unistd.h> #define usleep(t) usleep(t) #endif