successfully builds on win32.

Fixed a bug in pdcurses and rearranged includes to make MOUSE_MOVED
macro and bool type not conflict with builtins.
This commit is contained in:
Enno Rehling 2013-12-29 05:12:48 -08:00
parent 478f900b7d
commit 4a5d2d8de9
4 changed files with 3 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#include <curses.h>
#include <platform.h> #include <platform.h>
#include <curses.h>
#include <kernel/types.h> #include <kernel/types.h>
#include "bind_gmtool.h" #include "bind_gmtool.h"

View File

@ -8,8 +8,8 @@
* *
*/ */
#include <curses.h>
#include <platform.h> #include <platform.h>
#include <curses.h>
#include <util/bool.h> #include <util/bool.h>
#include <kernel/config.h> #include <kernel/config.h>

View File

@ -200,10 +200,6 @@ typedef struct _stat stat_type;
# endif # endif
#endif #endif
#ifndef HAVE_STRDUP
extern char *strdup(const char *s);
#endif
#ifndef HAVE_SLEEP #ifndef HAVE_SLEEP
#ifdef HAVE__SLEEP_MSEC #ifdef HAVE__SLEEP_MSEC
# define sleep(sec) _sleep(1000*sec) # define sleep(sec) _sleep(1000*sec)

View File

@ -9,8 +9,8 @@
*/ */
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */ /* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <curses.h>
#include <platform.h> #include <platform.h>
#include <curses.h>
#include <kernel/config.h> #include <kernel/config.h>
#include "listbox.h" #include "listbox.h"