summaryrefslogtreecommitdiff
path: root/lib/libocurses/curses.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libocurses/curses.h')
-rw-r--r--lib/libocurses/curses.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libocurses/curses.h b/lib/libocurses/curses.h
index 999282316db..3b80a82a691 100644
--- a/lib/libocurses/curses.h
+++ b/lib/libocurses/curses.h
@@ -41,13 +41,6 @@
#include <stdio.h>
-/*
- * The following #defines and #includes are present for backward
- * compatibility only. They should not be used in future code.
- *
- * START BACKWARD COMPATIBILITY ONLY.
- */
-#ifndef _CURSES_PRIVATE
#define bool char
#ifndef TRUE
@@ -57,6 +50,13 @@
#define FALSE (0)
#endif
+/*
+ * The following #defines and #includes are present for backward
+ * compatibility only. They should not be used in future code.
+ *
+ * START BACKWARD COMPATIBILITY ONLY.
+ */
+#ifndef _CURSES_PRIVATE
#define _puts(s) tputs(s, 0, __cputchar)
#define _putchar(c) __cputchar(c)