1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

lib:util: Use #ifdef instead of #if for config.h definitions

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andreas Schneider 2018-11-20 14:01:20 +01:00 committed by Gary Lockyer
parent 4e8e172090
commit 8075025303
2 changed files with 3 additions and 3 deletions

View File

@ -43,11 +43,11 @@
/*
* See if autoconf has found us the internal headers in some form.
*/
#if HAVE_COREFOUNDATION_CFSTRINGENCODINGCONVERTER_H
#if defined(HAVE_COREFOUNDATION_CFSTRINGENCODINGCONVERTER_H)
# include <CoreFoundation/CFStringEncodingConverter.h>
# include <CoreFoundation/CFUnicodePrecomposition.h>
# define USE_INTERNAL_API 1
#elif HAVE_CFSTRINGENCODINGCONVERTER_H
#elif defined(HAVE_CFSTRINGENCODINGCONVERTER_H)
# include <CFStringEncodingConverter.h>
# include <CFUnicodePrecomposition.h>
# define USE_INTERNAL_API 1

View File

@ -30,7 +30,7 @@
#include "torture/local/proto.h"
#include "talloc.h"
#if HAVE_NATIVE_ICONV
#ifdef HAVE_NATIVE_ICONV
static bool iconv_untestable(struct torture_context *tctx)
{