Improve 64-bit detection

Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
This commit is contained in:
Doug MacEachern 2007-05-10 15:05:34 +00:00
parent 3fe0a04cc5
commit 994642cd26
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@
#ifndef SIGAR_PRIVATE_DOT_H
#define SIGAR_PRIVATE_DOT_H
#if defined(__LP64__) || defined(__powerpc64__) || defined(__osf__)
#if defined(_LP64) || \
defined(__LP64__) || \
defined(__64BIT__) || \
defined(__powerpc64__) || \
defined(__osf__)
#define SIGAR_64BIT
#endif