diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-03-20 21:46:12 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-04-20 11:56:22 +0200 |
commit | 63d9b5323d74eada4ba2cd7b9aa1819e1b38779e (patch) | |
tree | 3b4c49108b05b4480529ce167592cbb902d9b116 /lib | |
parent | f11278fa9b9a91f2b6f73138a774034eb6048079 (diff) | |
download | samba-63d9b5323d74eada4ba2cd7b9aa1819e1b38779e.tar.gz |
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>
(cherry picked from commit 329a229af3c3c9475b9254ca68c413ec18fa3b71)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/replace.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |