From 63d9b5323d74eada4ba2cd7b9aa1819e1b38779e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 20 Mar 2018 21:46:12 +0100 Subject: [PATCH] lib/replace: define __[u]intptr_t_defined if we prove an replacement MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=13344 Signed-off-by: Stefan Metzmacher Reviewed-by: Björn Jacke (cherry picked from commit 329a229af3c3c9475b9254ca68c413ec18fa3b71) --- lib/replace/replace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 128978c561e..3304cdafa41 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -691,10 +691,12 @@ typedef int bool; #if !defined(HAVE_INTPTR_T) typedef long long intptr_t ; +#define __intptr_t_defined #endif #if !defined(HAVE_UINTPTR_T) typedef unsigned long long uintptr_t ; +#define __uintptr_t_defined #endif #if !defined(HAVE_PTRDIFF_T) -- 2.11.4.GIT