summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-24 21:29:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:51 -0500
commit4fa973e4a48f6f4de4c8937d6c2472564b760c76 (patch)
treee2cf37105cfb65a509ef4e1f2b44e1318adea018 /source4/lib/replace/replace.h
parentef5dc55983b5786d602688a596ea349b0dfdc0c8 (diff)
downloadsamba-4fa973e4a48f6f4de4c8937d6c2472564b760c76.tar.gz
samba-4fa973e4a48f6f4de4c8937d6c2472564b760c76.tar.xz
samba-4fa973e4a48f6f4de4c8937d6c2472564b760c76.zip
r23123: Fix two utterly simply typos that broke the whole build farm...
Michael (This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 3a8ce1a6f1..5918f98bc4 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -338,12 +338,12 @@ int rep_mkstemp(char *temp);
char *rep_mkdtemp(char *template);
#endif
-#ifdef HAVE_INET_PTON
+#ifndef HAVE_INET_PTON
#define inet_pton rep_inet_pton
int rep_inet_pton(int af, const char *src, void *dst);
#endif
-#ifdef HAVE_INET_NTOP
+#ifndef HAVE_INET_NTOP
#define inet_ntop rep_inet_ntop
const char *rep_inet_ntop(int af, const void *src, char *dst, size_t size);
#endif