Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5a38a11

Browse files
committed
Remove sparc dir, add difftime macro for sunos.
1 parent cfd15d1 commit 5a38a11

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/backend/utils/adt/timestamp.c

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
#include "miscadmin.h"
77
#include "utils/builtins.h"
88

9+
/* sunos doesn't have this function */
10+
#if defined(sunos)
11+
#define difftime(time1,time0) ((time1) - (time0))
12+
#endif
13+
914
#if FALSE
1015
/* copy the next part of the string into a buffer */
1116
static const char *

0 commit comments

Comments
 (0)