projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd15d1
)
Remove sparc dir, add difftime macro for sunos.
author
Bruce Momjian
Mon, 28 Jul 1997 00:13:39 +0000
(
00:13
+0000)
committer
Bruce Momjian
Mon, 28 Jul 1997 00:13:39 +0000
(
00:13
+0000)
src/backend/utils/adt/timestamp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/timestamp.c
b/src/backend/utils/adt/timestamp.c
index 58113955e5adf8dd595f5a0c095f83776ef97fc7..f69fa0f3a73ea674db7358d2e2c1a7b0e478b4e6 100644
(file)
--- a/
src/backend/utils/adt/timestamp.c
+++ b/
src/backend/utils/adt/timestamp.c
@@
-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 *