System Plugin: Support for p as pointer/handle type
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6014 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d81d3a7774
commit
eebc175b92
3 changed files with 23 additions and 1 deletions
|
@ -1,6 +1,18 @@
|
|||
#ifndef ___SYSTEM__H___
|
||||
#define ___SYSTEM__H___
|
||||
|
||||
// This should probably be moved to platform.h at some point
|
||||
|
||||
#if defined(_M_X64) || defined(__amd64__)
|
||||
# define SYSTEM_X64
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(_X86_)
|
||||
# define SYSTEM_X86
|
||||
#else
|
||||
# error "Unknown architecture!"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// The following ifdef block is the standard way of creating macros which make exporting
|
||||
// from a DLL simpler. All files within this DLL are compiled with the SYSTEM_EXPORTS
|
||||
// symbol defined on the command line. this symbol should not be defined on any project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue