summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--include/bsd/bsd.h2
-rw-r--r--include/bsd/stdlib.h2
-rw-r--r--include/bsd/string.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 60d94a5..bd805ed 100644
--- a/Makefile
+++ b/Makefile
@@ -129,7 +129,7 @@ LDFLAGS ?=
# Internal makefile variables
MK_CPPFLAGS := -Iinclude/bsd/ -Iinclude/ \
- -DLIBBSD_OVERLAY -DLIBBSD_CLEAN_INCLUDES \
+ -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D_GNU_SOURCE -D__REENTRANT
MK_CFLAGS :=
MK_LDFLAGS :=
diff --git a/include/bsd/bsd.h b/include/bsd/bsd.h
index bba4ac8..c083805 100644
--- a/include/bsd/bsd.h
+++ b/include/bsd/bsd.h
@@ -42,7 +42,7 @@
#include <bsd/md5.h>
/* FIXME: Will be removed in the future. */
-#ifndef LIBBSD_CLEAN_INCLUDES
+#ifndef LIBBSD_DISABLE_DEPRECATED
#include <time.h>
#endif
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h
index a22cbe5..8e885f6 100644
--- a/include/bsd/stdlib.h
+++ b/include/bsd/stdlib.h
@@ -47,7 +47,7 @@
#endif
/* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */
-#ifndef LIBBSD_CLEAN_INCLUDES
+#ifndef LIBBSD_DISABLE_DEPRECATED
#include <bsd/stdio.h>
#include <bsd/unistd.h>
#endif
diff --git a/include/bsd/string.h b/include/bsd/string.h
index 7d23f7d..b0199d7 100644
--- a/include/bsd/string.h
+++ b/include/bsd/string.h
@@ -36,7 +36,7 @@
#include <string.h>
#endif
-#ifndef LIBBSD_CLEAN_INCLUDES
+#ifndef LIBBSD_DISABLE_DEPRECATED
/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */
#include <bsd/stdio.h>
#endif