diff options
| author | Eli Zaretskii | 2013-02-16 15:59:37 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-02-16 15:59:37 +0200 |
| commit | cd91fb4b0ae2c05d72adb61bc47c232c2dad015a (patch) | |
| tree | 76e23eb7e8d05d9a26e66fcb6c16b61e76b381bc /src/w32term.c | |
| parent | f277993be3a50b375c670351cb4051c806edd97f (diff) | |
| download | emacs-cd91fb4b0ae2c05d72adb61bc47c232c2dad015a.tar.gz emacs-cd91fb4b0ae2c05d72adb61bc47c232c2dad015a.zip | |
Don't use __STDC__ on MS-Windows unless necessary (Bug #9066).
nt/inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC.
src/w32term.c <input_signal_count>: Declare 'volatile' unconditionally.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c index c83ee31d200..170f33ecd67 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -191,11 +191,7 @@ static Time last_mouse_movement_time; | |||
| 191 | 191 | ||
| 192 | /* Incremented by w32_read_socket whenever it really tries to read | 192 | /* Incremented by w32_read_socket whenever it really tries to read |
| 193 | events. */ | 193 | events. */ |
| 194 | #ifdef __STDC__ | ||
| 195 | static int volatile input_signal_count; | 194 | static int volatile input_signal_count; |
| 196 | #else | ||
| 197 | static int input_signal_count; | ||
| 198 | #endif | ||
| 199 | 195 | ||
| 200 | #ifdef CYGWIN | 196 | #ifdef CYGWIN |
| 201 | int w32_message_fd = -1; | 197 | int w32_message_fd = -1; |