1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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 <metze@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-03-20 21:46:12 +01:00
parent f2ff61ce9e
commit 329a229af3

View File

@ -691,10 +691,12 @@ typedef int bool;
#if !defined(HAVE_INTPTR_T) #if !defined(HAVE_INTPTR_T)
typedef long long intptr_t ; typedef long long intptr_t ;
#define __intptr_t_defined
#endif #endif
#if !defined(HAVE_UINTPTR_T) #if !defined(HAVE_UINTPTR_T)
typedef unsigned long long uintptr_t ; typedef unsigned long long uintptr_t ;
#define __uintptr_t_defined
#endif #endif
#if !defined(HAVE_PTRDIFF_T) #if !defined(HAVE_PTRDIFF_T)