summaryrefslogtreecommitdiff
path: root/src/include/utils/datetime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/datetime.h')
-rw-r--r--src/include/utils/datetime.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h
index 584f96074c..fd9546362f 100644
--- a/src/include/utils/datetime.h
+++ b/src/include/utils/datetime.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: datetime.h,v 1.2 1997/03/14 23:33:21 scrappy Exp $
+ * $Id: datetime.h,v 1.3 1997/06/23 15:03:41 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,34 +15,8 @@
#include "utils/dt.h"
-#if USE_NEW_DATE
-
typedef int32 DateADT;
-#else
-
-/* these things look like structs, but we pass them by value so be careful
- For example, passing an int -> DateADT is not portable! */
-typedef struct DateADT {
- char day;
- char month;
- short year;
-} DateADT;
-
-#endif
-
-#if USE_NEW_TIME
-
typedef float8 TimeADT;
-#else
-
-typedef struct TimeADT {
- short hr;
- short min;
- float sec;
-} TimeADT;
-
-#endif
-
#endif /* DATETIME_H */