From: Stefan Metzmacher Date: Tue, 20 Mar 2018 20:46:12 +0000 (+0100) Subject: lib/replace: define __[u]intptr_t_defined if we prove an replacement X-Git-Url: http://git.samba.org/?a=commitdiff_plain;ds=sidebyside;h=329a229af3c3c9475b9254ca68c413ec18fa3b71;p=metze%2Fsamba%2Fwip.git lib/replace: define __[u]intptr_t_defined if we prove an replacement BUG: https://bugzilla.samba.org/show_bug.cgi?id=13344 Signed-off-by: Stefan Metzmacher Reviewed-by: Björn Jacke --- diff --git a/lib/replace/replace.h b/lib/replace/replace.h index e2a55415e049..626d30530290 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)