mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
(RVA_TO_PTR): New macro.
This commit is contained in:
parent
e9bdb9c9f7
commit
8747ac3f68
@ -57,6 +57,11 @@ extern BOOL WINAPI IsValidLocale(LCID, DWORD);
|
||||
#include "syssignal.h"
|
||||
#include "w32term.h"
|
||||
|
||||
#define RVA_TO_PTR(var,section,filedata) \
|
||||
((void *)((section)->PointerToRawData \
|
||||
+ ((DWORD)(var) - (section)->VirtualAddress) \
|
||||
+ (filedata).file_base))
|
||||
|
||||
/* Control whether spawnve quotes arguments as necessary to ensure
|
||||
correct parsing by child process. Because not all uses of spawnve
|
||||
are careful about constructing argv arrays, we make this behaviour
|
||||
|
Loading…
Reference in New Issue
Block a user