summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-05 21:11:56 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-05 21:11:56 +0000
commit772d3214e9e4db0f96e07063fb69690cdd633d52 (patch)
treee07b853a8cce08742ff646b65d2954e58ffb3fbf /IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib
parentf721ae46cbd1f5b6fbf38b6e70591c7d0d3cc6f7 (diff)
downloadedk2-platforms-772d3214e9e4db0f96e07063fb69690cdd633d52.tar.xz
Update links for broken urls in BaseTools/gcc/mingw-gcc-build.py script.
The new version of mingw-w64-snapshot-20090419.tar.bz2 requires a modification to IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h in order to build successfully with the new mingw header files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9027 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib')
-rw-r--r--IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h b/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
index b4fd6c75e6..5b078525b9 100644
--- a/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
+++ b/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
@@ -24,15 +24,19 @@
#undef _WIN32
#endif
+#ifndef _SIZE_T_DEFINED
#if !defined(_WIN64) || defined(__GNUC__)
typedef unsigned int size_t;
#endif
+#endif
#ifdef _WIN64
#undef _WIN64
#endif
+#ifndef _PTRDIFF_T_DEFINED
typedef int ptrdiff_t;
+#endif
#define memcpy CopyMem
#define memmove CopyMem