forked from github/server
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:
parent
478f900b7d
commit
4a5d2d8de9
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue