diff options
-rw-r--r-- | ace/Profile_Timer.cpp | 2 | ||||
-rw-r--r-- | ace/Profile_Timer.h | 2 | ||||
-rw-r--r-- | ace/Profile_Timer.i | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ace/Profile_Timer.cpp b/ace/Profile_Timer.cpp index 5b0cf717fd1..0b3b2de551b 100644 --- a/ace/Profile_Timer.cpp +++ b/ace/Profile_Timer.cpp @@ -11,7 +11,7 @@ ACE_RCSID(ace, Profile_Timer, "$Id$") ACE_ALLOC_HOOK_DEFINE(ACE_Profile_Timer) -#if defined (ACE_HAS_PRUSAGE_T) || defined (ACE_HAS_GETRUSAGE) +#if (defined (ACE_HAS_PRUSAGE_T) || defined (ACE_HAS_GETRUSAGE)) && !defined (ACE_WIN32) void ACE_Profile_Timer::dump (void) const diff --git a/ace/Profile_Timer.h b/ace/Profile_Timer.h index daae4348146..7271bb35f50 100644 --- a/ace/Profile_Timer.h +++ b/ace/Profile_Timer.h @@ -100,7 +100,7 @@ private: ACE_HANDLE proc_handle_; // I/O handle for /proc file system. -#elif defined (ACE_HAS_GETRUSAGE) +#elif defined (ACE_HAS_GETRUSAGE) && !defined (ACE_WIN32) void subtract (timeval &tdiff, timeval &t0, timeval &t1); // Substract two timestructs and store their difference. diff --git a/ace/Profile_Timer.i b/ace/Profile_Timer.i index 9126760a8c9..95a80e8271a 100644 --- a/ace/Profile_Timer.i +++ b/ace/Profile_Timer.i @@ -1,7 +1,7 @@ /* -*- C++ -*- */ // $Id$ -#if defined (ACE_HAS_PRUSAGE_T) || defined (ACE_HAS_GETRUSAGE) +#if (defined (ACE_HAS_PRUSAGE_T) || defined (ACE_HAS_GETRUSAGE)) && !defined (ACE_WIN32) #if defined (ACE_HAS_PRUSAGE_T) ACE_INLINE int |