diff options
author | Andreas Schneider <asn@samba.org> | 2018-11-20 14:12:23 +0100 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2018-11-28 23:19:23 +0100 |
commit | f4694b61f2c93ec655da0a4422f133b3d7e60a51 (patch) | |
tree | 43931a074667b4e25c2b7bb2b5ad6a0cddc52330 | |
parent | 99a9b092ca2da884cfeae92162f2aa5f72ec3fb8 (diff) | |
download | samba-f4694b61f2c93ec655da0a4422f133b3d7e60a51.tar.gz |
s3:include: 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>
-rw-r--r-- | source3/include/includes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 032776003a3..acd0788ff4d 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -76,7 +76,7 @@ #undef HAVE_LDAP #endif -#if HAVE_SYS_ATTRIBUTES_H +#ifdef HAVE_SYS_ATTRIBUTES_H #include <sys/attributes.h> #endif @@ -92,17 +92,17 @@ #include <sys/uio.h> #endif -#if HAVE_LANGINFO_H +#ifdef HAVE_LANGINFO_H #include <langinfo.h> #endif -#if HAVE_NETGROUP_H +#ifdef HAVE_NETGROUP_H #include <netgroup.h> #endif /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ -#if HAVE_VALGRIND_MEMCHECK_H +#ifdef HAVE_VALGRIND_MEMCHECK_H /* memcheck.h includes valgrind.h */ #include <valgrind/memcheck.h> #elif HAVE_VALGRIND_H |