1 // $LynxId: lynx_cfg.h,v 1.6 2011/05/28 13:07:55 tom Exp $
2 // definitions abstracted from makefile.msc
3 
4 #ifndef LYNX_CFG_H
5 #define LYNX_CFG_H 1
6 
7 #define __WIN32__
8 #define _WINDOWS
9 #define _WIN32_WINNT 0x0400
10 
11 #define ACCESS_AUTH 1
12 #define CJK_EX 1
13 #define DIRED_SUPPORT 1
14 #define DISP_PARTIAL 1
15 #define DOSPATH 1
16 #define USE_ALT_BINDINGS 1
17 #define EXP_NESTED_TABLES 1
18 #define HAVE_KEYPAD 1
19 #define HAVE_PUTENV 1
20 #define LONG_LIST 1
21 #define NDEBUG 1
22 #define NOSIGHUP 1
23 #define NOUSERS 1
24 #define NO_CONFIG_INFO 1
25 #define NO_CUSERID 1
26 #define NO_FILIO_H 1
27 #define NO_TTYTYPE 1
28 #define NO_UNISTD_H 1
29 #define NO_UTMP 1
30 #define OK_OVERRIDE 1
31 #define SH_EX 1
32 #define USE_CMD_LOGGING 1
33 #define USE_EXTERNALS 1
34 #define USE_FILE_UPLOAD 1
35 #define USE_JUSTIFY_ELTS 1
36 #define USE_MULTIBYTE_CURSES 1
37 #define USE_PERSISTENT_COOKIES 1
38 #define USE_PRETTYSRC 1
39 #define USE_READPROGRESS 1
40 #define USE_SCROLLBAR 1
41 #define USE_SOURCE_CACHE 1
42 #define USE_ZLIB 1
43 #define WIN_EX 1
44 
45 // definitions to account for using this file (see HTUtils.h, userdefs.h)
46 #define ANSI_VARARGS 1
47 #define HAVE_GETCWD 1
48 #define HAVE_STDARG_H 1
49 #define HAVE_STDLIB_H 1
50 #define LYNX_CFG_FILE "./lynx.cfg"
51 #define UNDERLINE_LINKS FALSE
52 #define socklen_t int
53 
54 // configuration choices
55 #define PDCURSES 1
56 #define USE_WINSOCK2_H 1
57 
58 #ifdef PDCURSES
59 #define USE_COLOR_STYLE 1
60 #define COLOR_CURSES 1
61 #define FANCY_CURSES 1
62 #endif
63 
64 #pragma warning (disable : 4244)	/* conversion from 'xxx' to 'yyy', possible loss of data */
65 #pragma warning (disable : 4267)	/* conversion from 'xxx' to 'yyy', possible loss of data */
66 #pragma warning (disable : 4311)	/* 'type cast': pointer truncation from 'xxx' to 'yyy' FIXME */
67 
68 #endif /* LYNX_CFG_H */
69