git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb72adc)
Make USECS_PER_* timestamp macros visible even when we are not using
2011年8月13日 01:32:19 +0000 (21:32 -0400)
2011年8月13日 01:32:19 +0000 (21:32 -0400)
integer timestamps.


diff --git a/src/include/utils/timestamp.h b/src/include/utils/timestamp.h
index 9e51b58dde0846e6b98e9b3569b7002b43641e0d..ca7a6e73c258c04867e962f42291a269ad527f44 100644 (file)
--- a/src/include/utils/timestamp.h
+++ b/src/include/utils/timestamp.h
@@ -93,12 +93,10 @@ typedef struct
#define SECS_PER_MINUTE 60
#define MINS_PER_HOUR 60
-#ifdef HAVE_INT64_TIMESTAMP
#define USECS_PER_DAY INT64CONST(86400000000)
#define USECS_PER_HOUR INT64CONST(3600000000)
#define USECS_PER_MINUTE INT64CONST(60000000)
#define USECS_PER_SEC INT64CONST(1000000)
-#endif
/*
* Macros for fmgr-callable functions.
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /