Mercurial > hg > xemacs-beta
comparison src/s/cygwin32.h @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:54 +0200 |
parents | 41f2f0e326e9 |
children | 677f6a0ee643 |
comparison
equal
deleted
inserted
replaced
244:78d4f1140794 | 245:51092a27c943 |
---|---|
65 #ifndef NOT_C_CODE | 65 #ifndef NOT_C_CODE |
66 #ifdef CONST | 66 #ifdef CONST |
67 #undef CONST | 67 #undef CONST |
68 #endif | 68 #endif |
69 | 69 |
70 /* Start and end of text and data. */ | |
71 extern void* _data_start__; | |
72 extern void* _data_end__; | |
73 | |
74 #include <windows.h> | 70 #include <windows.h> |
75 #endif | 71 #endif |
76 | 72 |
73 #ifdef HAVE_MS_WINDOWS | |
77 #define HAVE_NTGUI | 74 #define HAVE_NTGUI |
78 #define HAVE_FACES | 75 #define HAVE_FACES |
76 #endif | |
79 | 77 |
80 #ifndef ORDINARY_LINK | 78 #ifndef ORDINARY_LINK |
81 #define ORDINARY_LINK | 79 #define ORDINARY_LINK |
82 #endif | 80 #endif |
83 | 81 |
82 #define C_SWITCH_SYSTEM -Wno-sign-compare | |
84 #undef MOD_ALT | 83 #undef MOD_ALT |
85 #undef MOD_CONTROL | 84 #undef MOD_CONTROL |
86 #undef MOD_SHIFT | 85 #undef MOD_SHIFT |
87 | 86 |
88 #define SIF_TRACKPOS 0x0010 | 87 #define SIF_TRACKPOS 0x0010 |
91 #define FW_ULTRALIGHT FW_EXTRALIGHT | 90 #define FW_ULTRALIGHT FW_EXTRALIGHT |
92 #define TMPF_FIXED_PITCH 0x01 | 91 #define TMPF_FIXED_PITCH 0x01 |
93 #define VK_APPS 0x5D | 92 #define VK_APPS 0x5D |
94 #define SIGPROF 0 | 93 #define SIGPROF 0 |
95 #define NO_LIM_DATA | 94 #define NO_LIM_DATA |
96 #define HAVE_TEXT_START | 95 |
96 #define TEXT_START -1 | |
97 #define TEXT_END -1 | |
98 #define DATA_END -1 | |
99 #define RUN_TIME_REMAP | |
100 #define UNEXEC "unexcw.o" | |
97 | 101 |
98 #undef MAIL_USE_SYSTEM_LOCK | 102 #undef MAIL_USE_SYSTEM_LOCK |
99 | 103 |
100 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | 104 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
101 * group of arguments and treat it as an array of the arguments. */ | 105 * group of arguments and treat it as an array of the arguments. */ |
120 #define LOAD_AVE_TYPE long | 124 #define LOAD_AVE_TYPE long |
121 | 125 |
122 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 126 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
123 | 127 |
124 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 128 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
125 | |
126 /* Define CANNOT_DUMP on machines where unexec does not work. | |
127 Then the function dump-emacs will not be defined | |
128 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
129 | |
130 #define CANNOT_DUMP 1 | |
131 #define CANNOT_UNEXEC 1 | |
132 #define UNEXEC /* unexnt.o */ | |
133 | |
134 #define DATA_START _data_start__ | |
135 #define DATA_END _data_end__ | |
136 | 129 |
137 /* Define VIRT_ADDR_VARIES if the virtual addresses of | 130 /* Define VIRT_ADDR_VARIES if the virtual addresses of |
138 pure and impure space as loaded can vary, and even their | 131 pure and impure space as loaded can vary, and even their |
139 relative order cannot be relied on. | 132 relative order cannot be relied on. |
140 | 133 |
154 #define _CALLBACK_ __cdecl | 147 #define _CALLBACK_ __cdecl |
155 | 148 |
156 /* SYSTEM_TYPE should indicate the kind of system you are using. | 149 /* SYSTEM_TYPE should indicate the kind of system you are using. |
157 It sets the Lisp variable system-type. */ | 150 It sets the Lisp variable system-type. */ |
158 | 151 |
159 #define SYSTEM_TYPE "windows-nt" | 152 #define SYSTEM_TYPE "cygwin32" |
160 | 153 |
161 #define NO_MATHERR | 154 #define NO_MATHERR |
162 | 155 |
163 /* NOMULTIPLEJOBS should be defined if your system's shell | 156 /* NOMULTIPLEJOBS should be defined if your system's shell |
164 does not have "job control" (the ability to stop a program, | 157 does not have "job control" (the ability to stop a program, |
178 /* #define HAVE_PTYS */ | 171 /* #define HAVE_PTYS */ |
179 | 172 |
180 /* If your system uses COFF (Common Object File Format) then define the | 173 /* If your system uses COFF (Common Object File Format) then define the |
181 preprocessor symbol "COFF". */ | 174 preprocessor symbol "COFF". */ |
182 | 175 |
183 #define COFF | 176 #define COFF 1 |
184 | 177 |
185 /* define MAIL_USE_FLOCK if the mailer uses flock | 178 /* define MAIL_USE_FLOCK if the mailer uses flock |
186 to interlock access to /usr/spool/mail/$USER. | 179 to interlock access to /usr/spool/mail/$USER. |
187 The alternative is that a lock file named | 180 The alternative is that a lock file named |
188 /usr/spool/mail/$USER.lock. */ | 181 /usr/spool/mail/$USER.lock. */ |
189 | 182 |
190 /* If the character used to separate elements of the executable path | 183 /* If the character used to separate elements of the executable path |
191 is not ':', #define this to be the appropriate character constant. */ | 184 is not ':', #define this to be the appropriate character constant. */ |
192 #define SEPCHAR ';' | 185 #define SEPCHAR ':' |
193 | 186 |
194 /* ============================================================ */ | 187 /* ============================================================ */ |
195 | 188 |
196 /* Here, add any special hacks needed | 189 /* Here, add any special hacks needed |
197 to make Emacs work on this system. For example, | 190 to make Emacs work on this system. For example, |