diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 86e7c20cd01..cbd306a6b67 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -199,6 +199,7 @@ maybe_disable_address_randomization (int argc, char **argv) | |||
| 199 | } | 199 | } |
| 200 | #endif | 200 | #endif |
| 201 | 201 | ||
| 202 | #ifndef WINDOWSNT | ||
| 202 | /* Execute the program in FILE, with argument vector ARGV and environ | 203 | /* Execute the program in FILE, with argument vector ARGV and environ |
| 203 | ENVP. Return an error number if unsuccessful. This is like execve | 204 | ENVP. Return an error number if unsuccessful. This is like execve |
| 204 | except it reenables ASLR in the executed program if necessary, and | 205 | except it reenables ASLR in the executed program if necessary, and |
| @@ -215,6 +216,8 @@ emacs_exec_file (char const *file, char *const *argv, char *const *envp) | |||
| 215 | return errno; | 216 | return errno; |
| 216 | } | 217 | } |
| 217 | 218 | ||
| 219 | #endif /* !WINDOWSNT */ | ||
| 220 | |||
| 218 | /* If FD is not already open, arrange for it to be open with FLAGS. */ | 221 | /* If FD is not already open, arrange for it to be open with FLAGS. */ |
| 219 | static void | 222 | static void |
| 220 | force_open (int fd, int flags) | 223 | force_open (int fd, int flags) |