summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-23 18:48:58 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-23 18:48:58 +0000
commit85a787b92b6de419fab2cd4fe118c0c7d47066d6 (patch)
tree9197e165576a404c0574fda525447ccf2ceff312
parent59dbcc1245468218ec7e2372b2678351382a34f0 (diff)
usleep() is no longer needed, and should not be needed in the future
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/inspircd_win32wrapper.cpp9
-rw-r--r--win/inspircd_win32wrapper.h3
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