comparison src/s/mingw32.h @ 546:666d73d6ac56

[xemacs-hg @ 2001-05-20 01:17:07 by ben] fixes so MinGW compiles. console-msw.h, scrollbar-msw.c, event-msw.c: we might receive scrollbar events on windows without scrollbars (e.g. holding down and moving the wheel button). dired.c: win9x support. eval.c: doc comment about gcpro'ing in record_unwind_protect. frame-msw.c: typo. frame.c: avoid problems with errors during init_frame_3. process-nt.c: remove unused mswindows-quote-process-args. rec for 21.4. unexcw.c: use do/while. autoload.el: Oops, off by one argument. mouse.el: Add an argument to mouse-track so that hooks can be overridden. (let-binding doesn't work when the hooks have been made local.) modify mouse-track-run-hook accordingly, and fix mouse-track-default and mouse-track-insert to use the new functionality. printer.el: Oops, off by one paren.
author ben
date Sun, 20 May 2001 01:17:16 +0000
parents 0784d089fdc9
children ed498ef2108b
comparison
equal deleted inserted replaced
545:9a775fb11bb7 546:666d73d6ac56
131 /* We need a little extra space, see ../../lisp/loadup.el */ 131 /* We need a little extra space, see ../../lisp/loadup.el */
132 #define SYSTEM_PURESIZE_EXTRA 15000 132 #define SYSTEM_PURESIZE_EXTRA 15000
133 133
134 #ifndef NOT_C_CODE 134 #ifndef NOT_C_CODE
135 #include <stdlib.h> 135 #include <stdlib.h>
136 #include <mingw/process.h> 136 #include <../mingw/process.h>
137 #define mkdir __mkdir 137 #define mkdir __mkdir
138 #include <dir.h> 138 #include <dir.h>
139 #undef mkdir 139 #undef mkdir
140 #ifdef HAVE_CYGWIN_VERSION_H
141 #include <cygwin/version.h>
142 #endif
143 140
144 /* IO calls that are emulated or shadowed */ 141 /* IO calls that are emulated or shadowed */
145 #define pipe sys_pipe 142 #define pipe sys_pipe
146 int sys_pipe (int * phandles); 143 int sys_pipe (int * phandles);
147 144
189 struct passwd *getpwnam (const char *name); 186 struct passwd *getpwnam (const char *name);
190 uid_t getuid (void); 187 uid_t getuid (void);
191 uid_t geteuid (void); 188 uid_t geteuid (void);
192 gid_t getgid (void); 189 gid_t getgid (void);
193 gid_t getegid (void); 190 gid_t getegid (void);
194
195 #if CYGWIN_VERSION_DLL_MAJOR <= 21
196 #define _ftime ftime
197 #define _timeb timeb
198 #endif
199 191
200 /* Stuff that gets set wrongly or otherwise */ 192 /* Stuff that gets set wrongly or otherwise */
201 #define HAVE_SETITIMER 193 #define HAVE_SETITIMER
202 #define HAVE_GETTIMEOFDAY 194 #define HAVE_GETTIMEOFDAY
203 #define HAVE_SELECT 195 #define HAVE_SELECT