diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-07-28 00:13:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-07-28 00:13:39 +0000 |
commit | 5a38a119b22fb7206be7124cee9caa7a6769486f (patch) | |
tree | 87ca5655677be936e19302de5c6c1d9fbe823f29 /src/backend/utils/adt/timestamp.c | |
parent | cfd15d16fa6a280587d7dfb84a974abb54e440ea (diff) | |
download | postgresql-5a38a119b22fb7206be7124cee9caa7a6769486f.tar.gz postgresql-5a38a119b22fb7206be7124cee9caa7a6769486f.zip |
Remove sparc dir, add difftime macro for sunos.
Diffstat (limited to 'src/backend/utils/adt/timestamp.c')
-rw-r--r-- | src/backend/utils/adt/timestamp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index 58113955e5a..f69fa0f3a73 100644 --- 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 * |