From 1749cefdad726f2a44510a6c46d904b6e837dcc9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 5 Dec 2008 06:44:40 +0000 Subject: Compile contents conditionally. --- cpukit/posix/src/usleep.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/posix/src/usleep.c') diff --git a/cpukit/posix/src/usleep.c b/cpukit/posix/src/usleep.c index 67abc438a6..e864f3566a 100644 --- a/cpukit/posix/src/usleep.c +++ b/cpukit/posix/src/usleep.c @@ -15,6 +15,8 @@ #include "config.h" #endif +#ifndef HAVE_USLEEP + #include #include @@ -39,3 +41,5 @@ int usleep( remaining += tm.tv_nsec / 1000; return remaining; /* seconds remaining */ } + +#endif -- cgit v1.2.3