diff options
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 9 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.h | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index ed60a4028..f42fa6479 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -684,12 +684,3 @@ int getcpu() return cpu; } - -void usleep(unsigned long usecs) -{ - if (usecs > 0UL) - { - unsigned long millis = ((usecs + 999UL) / 1000UL); - SleepEx(millis, false); - } -} diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index efef18ac8..fc9905403 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -225,8 +225,5 @@ CoreExport bool initwmi(); CoreExport void donewmi(); CoreExport int getcpu(); -CoreExport void usleep(unsigned long usecs); - - #endif |