1--- postgresql-9.0.1/src/include/pg_config.h.in	2010-10-01 07:25:44.000000000 -0700
2+++ postgresql/src/include/pg_config.h.in	2010-12-14 18:48:08.000000000 -0800
3@@ -803,12 +803,9 @@
4 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
5    significant byte first (like Motorola and SPARC, unlike Intel). */
6 #if defined AC_APPLE_UNIVERSAL_BUILD
7+#/* This symbol must be allowed to be cleared. */ undef WORDS_BIGENDIAN
8 # if defined __BIG_ENDIAN__
9-#  define WORDS_BIGENDIAN 1
10-# endif
11-#else
12-# ifndef WORDS_BIGENDIAN
13-#  undef WORDS_BIGENDIAN
14+#/* This symbol should not be modified by configure. */  define WORDS_BIGENDIAN 1
15 # endif
16 #endif
17 
18@@ -856,3 +853,59 @@
19 /* Define to empty if the keyword `volatile' does not work. Warning: valid
20    code using `volatile' can become incorrect without. Disable with care. */
21 #undef volatile
22+
23+/*
24+ * Darwin's GCC can generate multiple architectures in a single pass so the size and
25+ * byte order will only be accurate for the one architecture that happened to invoke
26+ * configure.
27+ */
28+#ifdef AC_APPLE_UNIVERSAL_BUILD
29+#/* This symbol must be allowed to be cleared. */ undef ALIGNOF_DOUBLE
30+#/* This symbol must be allowed to be cleared. */ undef ALIGNOF_LONG
31+#/* This symbol must be allowed to be cleared. */ undef ALIGNOF_LONG_LONG_INT
32+#/* This symbol must be allowed to be cleared. */ undef FLOAT8PASSBYVAL
33+#/* This symbol must be allowed to be cleared. */ undef HAVE_LL_CONSTANTS
34+#/* This symbol must be allowed to be cleared. */ undef HAVE_LONG_INT_64
35+#/* This symbol must be allowed to be cleared. */ undef HAVE_LONG_LONG_INT_64
36+#/* This symbol must be allowed to be cleared. */ undef INT64_FORMAT
37+#/* This symbol must be allowed to be cleared. */ undef MAXIMUM_ALIGNOF
38+#/* This symbol must be allowed to be cleared. */ undef SIZEOF_LONG
39+#/* This symbol must be allowed to be cleared. */ undef SIZEOF_SIZE_T
40+#/* This symbol must be allowed to be cleared. */ undef SIZEOF_VOID_P
41+#/* This symbol must be allowed to be cleared. */ undef UINT64_FORMAT
42+#/* This symbol must be allowed to be cleared. */ undef USE_FLOAT8_BYVAL
43+# ifdef __LP64__
44+#/* This symbol should not be modified by configure. */  define ALIGNOF_DOUBLE 8
45+#/* This symbol should not be modified by configure. */  define ALIGNOF_LONG 8
46+#/* This symbol should not be modified by configure. */  define FLOAT8PASSBYVAL true
47+#/* This symbol should not be modified by configure. */  define HAVE_LONG_INT_64 1
48+#/* This symbol should not be modified by configure. */  define INT64_FORMAT "%ld"
49+#/* This symbol should not be modified by configure. */  define MAXIMUM_ALIGNOF 8
50+#/* This symbol should not be modified by configure. */  define SIZEOF_LONG 8
51+#/* This symbol should not be modified by configure. */  define SIZEOF_SIZE_T 8
52+#/* This symbol should not be modified by configure. */  define SIZEOF_VOID_P 8
53+#/* This symbol should not be modified by configure. */  define UINT64_FORMAT "%lu"
54+#/* This symbol should not be modified by configure. */  define USE_FLOAT8_BYVAL 1
55+# else
56+#/* This symbol should not be modified by configure. */  define ALIGNOF_DOUBLE 4
57+#/* This symbol should not be modified by configure. */  define ALIGNOF_LONG 4
58+#/* This symbol should not be modified by configure. */  define ALIGNOF_LONG_LONG_INT 4
59+#/* This symbol should not be modified by configure. */  define FLOAT8PASSBYVAL false
60+#/* This symbol should not be modified by configure. */  define HAVE_LL_CONSTANTS 1
61+#/* This symbol should not be modified by configure. */  define HAVE_LONG_LONG_INT_64 1
62+#/* This symbol should not be modified by configure. */  define INT64_FORMAT "%lld"
63+#/* This symbol should not be modified by configure. */  define MAXIMUM_ALIGNOF 4
64+#/* This symbol should not be modified by configure. */  define SIZEOF_LONG 4
65+#/* This symbol should not be modified by configure. */  define SIZEOF_SIZE_T 4
66+#/* This symbol should not be modified by configure. */  define SIZEOF_VOID_P 4
67+#/* This symbol should not be modified by configure. */  define UINT64_FORMAT "%llu"
68+# endif
69+#endif
70+
71+/*
72+ * Local variables:
73+ * tab-width: 4
74+ * c-basic-offset: 4
75+ * indent-tabs-mode: t
76+ * End:
77+ */
78