From dcf03b9d431bf5733bde76143da7405650ba119a Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 1 Jul 2009 10:49:35 -0700 Subject: [PATCH] do not redefine _INT32 --- source3/include/includes.h | 6 ++++-- source3/libaddns/dns.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index c1aeaf95b5d..2b36d18257d 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -313,8 +313,10 @@ typedef sig_atomic_t volatile SIG_ATOMIC_T; #if !defined(int32) && !defined(HAVE_INT32_FROM_RPC_RPC_H) # define int32 int32_t - /* needed to work around compile issue on HP-UX 11.x */ -# define _INT32 1 +# ifndef _INT32 + /* needed to work around compile issue on HP-UX 11.x */ +# define _INT32 1 +# endif #endif /* diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index a04a13bfd96..72cba076d81 100644 --- a/source3/libaddns/dns.h +++ b/source3/libaddns/dns.h @@ -180,8 +180,10 @@ void *talloc_zeronull(const void *context, size_t size, const char *name); /* uggh - no 32 bit type?? probably a CRAY. just hope this works ... */ # define int32 int # endif - /* needed to work around compile issue on HP-UX 11.x */ -# define _INT32 1 +# ifndef _INT32 + /* needed to work around compile issue on HP-UX 11.x */ +# define _INT32 1 +# endif #endif /* -- 2.11.4.GIT