mirror of https://github.com/acidanthera/audk.git
Define GLOABAL_REMOVE_IF_UNREFERENCED for IPF on MSFT tool chains
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2014 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c6137cfd5d
commit
20bfd422ed
|
@ -201,7 +201,11 @@ typedef INT64 INTN;
|
||||||
// if the /OPT:REF linker option is used. We defined a macro as this is a
|
// if the /OPT:REF linker option is used. We defined a macro as this is a
|
||||||
// a non standard extension
|
// a non standard extension
|
||||||
//
|
//
|
||||||
|
#if _MSC_EXTENSIONS
|
||||||
|
#define GLOBAL_REMOVE_IF_UNREFERENCED __declspec(selectany)
|
||||||
|
#else
|
||||||
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
#define GLOBAL_REMOVE_IF_UNREFERENCED
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// A pointer to a function in IPF points to a plabel.
|
// A pointer to a function in IPF points to a plabel.
|
||||||
|
|
Loading…
Reference in New Issue