Mercurial > hg > xemacs-beta
comparison src/s/windowsnt.h @ 827:28426972f654
[xemacs-hg @ 2002-05-06 14:14:33 by jhar]
Misc win32 native build and doc fixes
author | jhar |
---|---|
date | Mon, 06 May 2002 14:16:31 +0000 |
parents | a5954632b187 |
children | 79c6ff3eef26 |
comparison
equal
deleted
inserted
replaced
826:6728e641994e | 827:28426972f654 |
---|---|
209 #define MAIL_USE_POP | 209 #define MAIL_USE_POP |
210 #define HAVE_LOCKING | 210 #define HAVE_LOCKING |
211 #define MAIL_USE_LOCKING | 211 #define MAIL_USE_LOCKING |
212 | 212 |
213 /* See unexnt.c */ | 213 /* See unexnt.c */ |
214 #if (_MSC_VER >= 1100) | 214 #if (_MSC_VER >= 1100) && !defined(PDUMP) |
215 #define DUMP_SEPARATE_SECTION | 215 #define DUMP_SEPARATE_SECTION |
216 #endif | 216 #endif |
217 #ifdef DUMP_SEPARATE_SECTION | 217 #ifdef DUMP_SEPARATE_SECTION |
218 #pragma data_seg("xdata") | 218 #pragma data_seg("xdata") |
219 #pragma bss_seg("xdata") | 219 #pragma bss_seg("xdata") |
220 #endif | 220 #endif |
221 | 221 |
222 #ifdef HAVE_SCROLLBARS | 222 #ifdef emacs |
223 /* Ensure the NT 4 mouse definitions in winuser.h are available */ | 223 /* intl-auto-encap-win32.[ch] assumes _WIN32_WINNT>=0x0400 |
224 We don't want this set when building command-line helpers in lib-src */ | |
224 # ifndef _WIN32_WINNT | 225 # ifndef _WIN32_WINNT |
225 # define _WIN32_WINNT 0x0400 | 226 # define _WIN32_WINNT 0x0400 |
226 # endif | 227 # endif |
227 #endif | 228 #endif |
228 | 229 |
229 /* Force the various NT 4 structures and constants to be included; we're | |
230 careful not to call (or even link with) functions not in NT 3.51 when | |
231 running on 3.51, but when running on NT 4 or Win9x, we use the later | |
232 functions, and need their headers. */ | |
233 /* The VC++ (5.0, at least) headers treat WINVER non-existent as 0x0400 */ | 230 /* The VC++ (5.0, at least) headers treat WINVER non-existent as 0x0400 */ |
234 #if defined (WINVER) && WINVER < 0x0400 | 231 #if defined (WINVER) && WINVER < 0x0400 |
235 # undef WINVER | 232 # undef WINVER |
236 # define WINVER 0x0400 | 233 # define WINVER 0x0400 |
237 #endif | 234 #endif |