summaryrefslogtreecommitdiff
path: root/src/main/DefaultTimers.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-21 11:06:30 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-21 11:06:30 +0000
commit20ca79aa1fdc1a3405a94ab483b2942386937b32 (patch)
treeee258362ea0759d1ee1a5108aef02cd51e168f06 /src/main/DefaultTimers.c
parentbf26dc6a728ed8e47ec2a33a46b9beb9bca08ec6 (diff)
Changed to use new #ifdefs.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1078 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/DefaultTimers.c')
-rw-r--r--src/main/DefaultTimers.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/DefaultTimers.c b/src/main/DefaultTimers.c
index 60c07e86..e20ce65b 100644
--- a/src/main/DefaultTimers.c
+++ b/src/main/DefaultTimers.c
@@ -28,11 +28,11 @@ static char *rcsid = "$Header$";
/* Prototypes for registration functions */
-#ifdef HAVE_GETTIMEOFDAY
+#ifdef HAVE_TIME_GETTIMEOFDAY
void CCTKi_RegisterTimersGetTimeOfDay(void);
#endif
-#ifdef HAVE_GETRUSAGE
+#ifdef HAVE_TIME_GETRUSAGE
void CCTKi_RegisterTimersGetrUsage(void);
#endif
@@ -55,11 +55,11 @@ void CCTKi_RegisterTimersGetrUsage(void);
int CCTKi_RegisterDefaultTimerFunctions(void)
{
-#ifdef HAVE_GETTIMEOFDAY
+#ifdef HAVE_TIME_GETTIMEOFDAY
CCTKi_RegisterTimersGetTimeOfDay();
#endif
-#ifdef HAVE_GETRUSAGE
+#ifdef HAVE_TIME_GETRUSAGE
CCTKi_RegisterTimersGetrUsage();
#endif
@@ -77,7 +77,7 @@ int CCTKi_RegisterDefaultTimerFunctions(void)
**************** gettimeofday based timer *********************
*********************************************************************/
-#ifdef HAVE_GETTIMEOFDAY
+#ifdef HAVE_TIME_GETTIMEOFDAY
#include <unistd.h>
@@ -280,14 +280,14 @@ void CCTKi_RegisterTimersGetTimeOfDay(void)
}
-#endif /* HAVE_GETTIMEOFDAY */
+#endif /* HAVE_TIME_GETTIMEOFDAY */
/*********************************************************************
**************** getrusage based timers *******************
*********************************************************************/
-#ifdef HAVE_GETRUSAGE
+#ifdef HAVE_TIME_GETRUSAGE
#include <sys/resource.h>
@@ -488,4 +488,4 @@ void CCTKi_RegisterTimersGetrUsage(void)
}
-#endif /* HAVE_GETRUSAGE */
+#endif /* HAVE_TIME_GETRUSAGE */