diff options
Diffstat (limited to 'src')
-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 * |