summaryrefslogtreecommitdiff
path: root/src/zap/zapheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zap/zapheaders.cpp')
-rw-r--r--src/zap/zapheaders.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zap/zapheaders.cpp b/src/zap/zapheaders.cpp
index 1d201184a2..7df102abf4 100644
--- a/src/zap/zapheaders.cpp
+++ b/src/zap/zapheaders.cpp
@@ -222,6 +222,7 @@ void ZapVersionResource::Save(ZapWriter * pZapWriter)
void ZapImage::CopyWin32VersionResource()
{
+#ifndef FEATURE_PAL
// Copy the version resource over so it is easy to see in the dumps where the ngened module came from
COUNT_T cbResourceData;
PVOID pResourceData = m_ModuleDecoder.GetWin32Resource(MAKEINTRESOURCE(1), RT_VERSION, &cbResourceData);
@@ -237,6 +238,7 @@ void ZapImage::CopyWin32VersionResource()
m_pWin32ResourceSection->Place(pVersionData);
SetDirectoryEntry(IMAGE_DIRECTORY_ENTRY_RESOURCE, m_pWin32ResourceSection);
+#endif
}
#undef MAKEINTRESOURCE