]> git.ipfire.org Git - people/ms/dma.git/blobdiff - dfcompat.h
flip the polarity of the compatibility macros to HAVE_*
[people/ms/dma.git] / dfcompat.h
index fc962d15e66c2033e768dd3d42b5099cff371563..ea2363d970e642b2a10a9eef601c31945e06a39d 100644 (file)
@@ -7,15 +7,15 @@
 #define __DECONST(type, var)    ((type)(uintptr_t)(const void *)(var))
 #endif
 
-#ifdef NEED_STRLCPY
+#ifndef HAVE_STRLCPY
 size_t strlcpy(char *, const char *, size_t);
 #endif
 
-#ifdef NEED_REALLOCF
+#ifndef HAVE_REALLOCF
 void *reallocf(void *, size_t);
 #endif
 
-#ifdef NEED_GETPROGNAME
+#ifndef HAVE_GETPROGNAME
 const char *getprogname(void);
 #endif