move SIGAR_64BIT decl to sigar.h

This commit is contained in:
Doug MacEachern 2007-11-04 18:26:53 +00:00
parent c97cfd68d7
commit 5d0057b8cc
2 changed files with 8 additions and 8 deletions

View File

@ -27,6 +27,14 @@
extern "C" { extern "C" {
#endif #endif
#if defined(_LP64) || \
defined(__LP64__) || \
defined(__64BIT__) || \
defined(__powerpc64__) || \
defined(__osf__)
#define SIGAR_64BIT
#endif
#if defined(WIN32) #if defined(WIN32)
typedef unsigned __int32 sigar_uint32_t; typedef unsigned __int32 sigar_uint32_t;

View File

@ -19,14 +19,6 @@
#ifndef SIGAR_PRIVATE_DOT_H #ifndef SIGAR_PRIVATE_DOT_H
#define SIGAR_PRIVATE_DOT_H #define SIGAR_PRIVATE_DOT_H
#if defined(_LP64) || \
defined(__LP64__) || \
defined(__64BIT__) || \
defined(__powerpc64__) || \
defined(__osf__)
#define SIGAR_64BIT
#endif
#include "sigar_log.h" #include "sigar_log.h"
#include "sigar_ptql.h" #include "sigar_ptql.h"