diff options
Diffstat (limited to 'graphics/clanlib/patches/patch-ad')
-rw-r--r-- | graphics/clanlib/patches/patch-ad | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/graphics/clanlib/patches/patch-ad b/graphics/clanlib/patches/patch-ad deleted file mode 100644 index 4ae7c439306..00000000000 --- a/graphics/clanlib/patches/patch-ad +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-ad,v 1.4 2000/12/15 03:24:18 garbled Exp $ ---- Sources/Core/System/Unix/init_linux.cpp.orig Thu Dec 14 18:25:57 2000 -+++ Sources/Core/System/Unix/init_linux.cpp Thu Dec 14 18:21:25 2000 -@@ -531,19 +531,20 @@ - { - struct timeval tv; - // select doesn't modify timeval if interrupted on non Linux systems --#ifndef linux -- int then, now, elapsed; -- then = CL_System::get_time(); --#else -+ -+#if defined(linux) || defined(__NetBSD__) - tv.tv_sec = millis/ 1000; - tv.tv_usec = (millis%1000)*1000; -+#else -+ int then, now, elapsed; -+ then = CL_System::get_time(); - #endif - - int was_error; - do - { - errno = 0; --#ifndef linux -+#if !defined(linux) && !defined(__NetBSD__) - now = CL_System::get_time(); - elapsed = now - then; - then = now; |