Set LP64 for powerpc64 and LP32 for just powerpc.

This commit is contained in:
Brian Behlendorf 2009-05-22 16:27:59 -07:00
parent b83a638936
commit 2486dd20e5
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,7 @@ extern "C" {
#define _SUNOS_VTOC_16
/* powerpc (ppc64) arch specific defines */
/* powerpc arch specific defines */
#elif defined(__powerpc) || defined(__powerpc__)
#if !defined(__powerpc)
@ -81,7 +81,11 @@ extern "C" {
#endif
#if !defined(_LP64)
#ifdef __powerpc64__
#define _LP64
#else
#define _LP32
#endif
#endif
#define _SUNOS_VTOC_16