mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
We have tested the patches on three platforms:
NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: dt.h,v 1.37 1999/03/06 22:58:11 tgl Exp $
|
||||
* $Id: dt.h,v 1.38 1999/03/14 16:03:16 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -228,7 +228,7 @@ typedef struct
|
||||
#define DATETIME_IS_NOEND(j) (j == DT_NOEND)
|
||||
|
||||
#define DATETIME_CURRENT(j) {j = DT_CURRENT;}
|
||||
#if defined(linux) && defined(PPC)
|
||||
#if defined(linux) && defined(__powerpc__)
|
||||
extern int datetime_is_current(double j);
|
||||
|
||||
#define DATETIME_IS_CURRENT(j) datetime_is_current(j)
|
||||
@@ -237,7 +237,7 @@ extern int datetime_is_current(double j);
|
||||
#endif
|
||||
|
||||
#define DATETIME_EPOCH(j) {j = DT_EPOCH;}
|
||||
#if defined(linux) && defined(PPC)
|
||||
#if defined(linux) && defined(__powerpc__)
|
||||
extern int datetime_is_epoch(double j);
|
||||
|
||||
#define DATETIME_IS_EPOCH(j) datetime_is_epoch(j)
|
||||
|
||||
Reference in New Issue
Block a user