Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
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