diff options
Diffstat (limited to 'src/unexw32.c')
| -rw-r--r-- | src/unexw32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unexw32.c b/src/unexw32.c index e03fa6c9b9a..52b2ec4bf2b 100644 --- a/src/unexw32.c +++ b/src/unexw32.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* unexec for GNU Emacs on Windows NT. | 1 | /* unexec for GNU Emacs on Windows NT. |
| 2 | Copyright (C) 1994, 2001-2011 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2001-2012 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -123,8 +123,8 @@ _start (void) | |||
| 123 | is finished. */ | 123 | is finished. */ |
| 124 | #ifdef HAVE_NTGUI | 124 | #ifdef HAVE_NTGUI |
| 125 | /* determine WinMain args like crt0.c does */ | 125 | /* determine WinMain args like crt0.c does */ |
| 126 | hinst = GetModuleHandle(NULL); | 126 | hinst = GetModuleHandle (NULL); |
| 127 | lpCmdLine = GetCommandLine(); | 127 | lpCmdLine = GetCommandLine (); |
| 128 | nCmdShow = SW_SHOWDEFAULT; | 128 | nCmdShow = SW_SHOWDEFAULT; |
| 129 | #endif | 129 | #endif |
| 130 | mainCRTStartup (); | 130 | mainCRTStartup (); |
| @@ -326,7 +326,7 @@ relocate_offset (DWORD offset, | |||
| 326 | #define PTR_TO_RVA(ptr) ((DWORD)(ptr) - (DWORD) GetModuleHandle (NULL)) | 326 | #define PTR_TO_RVA(ptr) ((DWORD)(ptr) - (DWORD) GetModuleHandle (NULL)) |
| 327 | 327 | ||
| 328 | #define RVA_TO_PTR(var,section,filedata) \ | 328 | #define RVA_TO_PTR(var,section,filedata) \ |
| 329 | ((void *)(RVA_TO_OFFSET(var,section) + (filedata).file_base)) | 329 | ((void *)(RVA_TO_OFFSET (var,section) + (filedata).file_base)) |
| 330 | 330 | ||
| 331 | #define PTR_TO_OFFSET(ptr, pfile_data) \ | 331 | #define PTR_TO_OFFSET(ptr, pfile_data) \ |
| 332 | ((unsigned char *)(ptr) - (pfile_data)->file_base) | 332 | ((unsigned char *)(ptr) - (pfile_data)->file_base) |