~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/include/port/hpux.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef                 BIG_ENDIAN
 
2
#define                 BIG_ENDIAN              4321
 
3
#endif
 
4
#ifndef                 LITTLE_ENDIAN
 
5
#define                 LITTLE_ENDIAN   1234
 
6
#endif
 
7
#ifndef                 PDP_ENDIAN
 
8
#define                 PDP_ENDIAN              3412
 
9
#endif
 
10
 
 
11
#if defined(__hppa)
 
12
 
 
13
#ifndef                 BYTE_ORDER
 
14
#define                 BYTE_ORDER              BIG_ENDIAN
 
15
#endif
 
16
 
 
17
#elif defined(__ia64)
 
18
 
 
19
/* HPUX runs IA64 in big-endian mode */
 
20
#ifndef                 BYTE_ORDER
 
21
#define                 BYTE_ORDER              BIG_ENDIAN
 
22
#endif
 
23
 
 
24
#else
 
25
#error unrecognized CPU type for HP-UX
 
26
 
 
27
#endif