From 5d0057b8ccff177d643cc99d6610da0b8e4a0537 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 4 Nov 2007 18:26:53 +0000 Subject: [PATCH] move SIGAR_64BIT decl to sigar.h --- include/sigar.h | 8 ++++++++ include/sigar_private.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/sigar.h b/include/sigar.h index f6d6e90d..c5996dec 100644 --- a/include/sigar.h +++ b/include/sigar.h @@ -27,6 +27,14 @@ extern "C" { #endif +#if defined(_LP64) || \ + defined(__LP64__) || \ + defined(__64BIT__) || \ + defined(__powerpc64__) || \ + defined(__osf__) +#define SIGAR_64BIT +#endif + #if defined(WIN32) typedef unsigned __int32 sigar_uint32_t; diff --git a/include/sigar_private.h b/include/sigar_private.h index f02e4555..ddbff216 100644 --- a/include/sigar_private.h +++ b/include/sigar_private.h @@ -19,14 +19,6 @@ #ifndef 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_ptql.h"