comparison src/s/mingw32.h @ 408:501cfd01ee6d r21-2-34

Import from CVS: tag r21-2-34
author cvs
date Mon, 13 Aug 2007 11:18:11 +0200
parents 2f8bb876ab1d
children de805c49cfc1
comparison
equal deleted inserted replaced
407:ed6218a7d4d3 408:501cfd01ee6d
37 #define ORDINARY_LINK 37 #define ORDINARY_LINK
38 #endif 38 #endif
39 39
40 #define C_SWITCH_SYSTEM "-mno-cygwin -Wno-sign-compare -fno-caller-saves -Int/inc -I../nt/inc -DWINDOWSNT" 40 #define C_SWITCH_SYSTEM "-mno-cygwin -Wno-sign-compare -fno-caller-saves -Int/inc -I../nt/inc -DWINDOWSNT"
41 #define LIBS_SYSTEM "-mno-cygwin -lwinmm -lwsock32" 41 #define LIBS_SYSTEM "-mno-cygwin -lwinmm -lwsock32"
42 #define WIN32_LEAN_AND_MEAN
42 43
43 #define TEXT_START -1 44 #define TEXT_START -1
44 #define TEXT_END -1 45 #define TEXT_END -1
45 #define DATA_END -1 46 #define DATA_END -1
46 #define HEAP_IN_DATA 47 #define HEAP_IN_DATA
49 #define TIME_ONESHOT 0 50 #define TIME_ONESHOT 0
50 #define TIME_PERIODIC 1 51 #define TIME_PERIODIC 1
51 #define LOCALE_USE_CP_ACP 0x40000000 52 #define LOCALE_USE_CP_ACP 0x40000000
52 #define NSIG 23 53 #define NSIG 23
53 54
54 #ifndef SPI_GETWHEELSCROLLLINES
55 #define SPI_GETWHEELSCROLLLINES 104
56 #endif
57 #ifndef WHEEL_PAGESCROLL
58 #define WHEEL_PAGESCROLL (UINT_MAX)
59 #endif
60 #ifndef WHEEL_DELTA
61 #define WHEEL_DELTA 120
62 #endif
63
64 /* this is necessary to get the TCS_* definitions in <commctrl.h> */ 55 /* this is necessary to get the TCS_* definitions in <commctrl.h> */
65 #define _WIN32_IE 0x0400 56 #define _WIN32_IE 0x0400
66
67 #ifndef WM_MOUSEWHEEL
68 #define WM_MOUSEWHEEL 0x20A
69 #endif
70 #ifndef TCS_BOTTOM
71 #define TCS_BOTTOM 0x0002
72 #endif
73 #ifndef TCS_VERTICAL
74 #define TCS_VERTICAL 0x0080
75 #endif
76 #ifndef PHYSICALWIDTH
77 #define PHYSICALWIDTH 110
78 #endif
79 #ifndef PHYSICALHEIGHT
80 #define PHYSICALHEIGHT 111
81 #endif
82 #ifndef PHYSICALOFFSETX
83 #define PHYSICALOFFSETX 112
84 #endif
85 #ifndef PHYSICALOFFSETY
86 #define PHYSICALOFFSETY 113
87 #endif
88 #ifndef PBS_SMOOTH
89 #define PBS_SMOOTH 0x01
90 #endif
91 57
92 /* translate NT world unexec stuff to our a.out definitions */ 58 /* translate NT world unexec stuff to our a.out definitions */
93 59
94 #define strnicmp strncasecmp 60 #define strnicmp strncasecmp
95 /* #ifndef HAVE_SOCKETS */ 61 /* #ifndef HAVE_SOCKETS */
261 227
262 #undef GETTIMEOFDAY_ONE_ARGUMENT 228 #undef GETTIMEOFDAY_ONE_ARGUMENT
263 #undef HAVE_SYS_WAIT_H 229 #undef HAVE_SYS_WAIT_H
264 #undef HAVE_TERMIOS 230 #undef HAVE_TERMIOS
265 #undef SYSV_SYSTEM_DIR 231 #undef SYSV_SYSTEM_DIR
232 #undef CLASH_DETECTION
266 233
267 /* We now have emulation for some signals */ 234 /* We now have emulation for some signals */
268 #define HAVE_SIGHOLD 235 #define HAVE_SIGHOLD
269 #define sigset(s,h) msw_sigset(s,h) 236 #define sigset(s,h) msw_sigset(s,h)
270 #define sighold(s) msw_sighold(s) 237 #define sighold(s) msw_sighold(s)