Changes to existing files by the win32 port additions.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
/* #define X11_GRAPHICS */ /* X11 interface */
|
||||
/* #define QT_GRAPHICS */ /* Qt interface */
|
||||
/* #define GNOME_GRAPHICS */ /* Gnome interface */
|
||||
/* #define MSWIN_GRAPHICS */ /* Windows NT, CE, Graphics */
|
||||
|
||||
/*
|
||||
* Define the default window system. This should be one that is compiled
|
||||
@@ -98,6 +99,16 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef MSWIN_GRAPHICS
|
||||
# ifdef TTY_GRAPHICS
|
||||
# undef TTY_GRAPHICS
|
||||
# endif
|
||||
# ifndef DEFAULT_WINDOW_SYS
|
||||
# define DEFAULT_WINDOW_SYS "mswin"
|
||||
# endif
|
||||
# define HACKDIR "\\nethack"
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_WINDOW_SYS
|
||||
# define DEFAULT_WINDOW_SYS "tty"
|
||||
#endif
|
||||
|
||||
@@ -108,6 +108,11 @@
|
||||
/*
|
||||
* Windows NT Autodetection
|
||||
*/
|
||||
#ifdef _WIN32_WCE
|
||||
# ifndef WIN32
|
||||
# define WIN32
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
# undef UNIX
|
||||
@@ -116,6 +121,16 @@
|
||||
# define STRNCMPI
|
||||
# define USE_STDARG
|
||||
# define NEED_VARARGS
|
||||
|
||||
# ifdef UNDER_CE
|
||||
# define WIN_CE
|
||||
# define STRCMPI
|
||||
# endif
|
||||
|
||||
/* ARM - the processor; avoids conflict with ARM in hack.h */
|
||||
# ifdef ARM
|
||||
# undef ARM
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -175,8 +175,12 @@ typedef xchar boolean; /* 0 or 1 */
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef WIN_CE
|
||||
#include "wceconf.h"
|
||||
#else
|
||||
#include "ntconf.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Displayable name of this port; don't redefine if defined in *conf.h */
|
||||
#ifndef PORT_ID
|
||||
|
||||
Reference in New Issue
Block a user