]> granicus.if.org Git - postgresql/commitdiff
Remove sparc dir, add difftime macro for sunos.
authorBruce Momjian <bruce@momjian.us>
Mon, 28 Jul 1997 00:13:39 +0000 (00:13 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 28 Jul 1997 00:13:39 +0000 (00:13 +0000)
src/backend/utils/adt/timestamp.c

index 58113955e5adf8dd595f5a0c095f83776ef97fc7..f69fa0f3a73ea674db7358d2e2c1a7b0e478b4e6 100644 (file)
@@ -6,6 +6,11 @@
 #include "miscadmin.h"
 #include "utils/builtins.h"
 
+/* sunos doesn't have this function */
+#if defined(sunos)
+#define difftime(time1,time0)  ((time1) - (time0))
+#endif
+
 #if FALSE
 /* copy the next part of the string into a buffer */
 static const char *