Improve 64-bit detection
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
This commit is contained in:
parent
3fe0a04cc5
commit
994642cd26
|
@ -19,7 +19,11 @@
|
||||||
#ifndef SIGAR_PRIVATE_DOT_H
|
#ifndef SIGAR_PRIVATE_DOT_H
|
||||||
#define 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
|
#define SIGAR_64BIT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue