test was the wrong way around
[rsync/rsync.git] / lib / compat.c
index e2380e1..1c185d9 100644 (file)
 }
 #endif
 
 }
 #endif
 
-#ifndef REPLACE_INET_ATON
+#ifdef REPLACE_INET_ATON
  int inet_aton(const char *cp, struct in_addr *inp)
 {
        unsigned int a1, a2, a3, a4;
  int inet_aton(const char *cp, struct in_addr *inp)
 {
        unsigned int a1, a2, a3, a4;