aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/timestamp.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-19 21:47:07 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-19 21:47:07 +0000
commit4e9e00cb688ed3f08ce8ba608a2ef39ff0d43151 (patch)
treef02c66d3d01923552cc59b15b308b11862f77c86 /src/backend/utils/adt/timestamp.c
parent1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (diff)
downloadpostgresql-4e9e00cb688ed3f08ce8ba608a2ef39ff0d43151.tar.gz
postgresql-4e9e00cb688ed3f08ce8ba608a2ef39ff0d43151.zip
Fix for sunos4 difftime() call.
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
-rw-r--r--src/backend/utils/adt/timestamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index f69fa0f3a73..4d3a8f9af21 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -7,7 +7,7 @@
#include "utils/builtins.h"
/* sunos doesn't have this function */
-#if defined(sunos)
+#if defined(sunos4)
#define difftime(time1,time0) ((time1) - (time0))
#endif