summaryrefslogtreecommitdiff
path: root/src/md/enc
diff options
context:
space:
mode:
authorEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-02-05 14:19:32 -0800
committerEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-02-05 14:19:32 -0800
commitf7a3a79aa7960b0046cd59517a44ae83d0c95e0a (patch)
tree37b2c4a3329ec13f344cda4602489721b13cd08b /src/md/enc
parenta71f0715019300102e9b688e682f8781068f3265 (diff)
downloadcoreclr-f7a3a79aa7960b0046cd59517a44ae83d0c95e0a.tar.gz
coreclr-f7a3a79aa7960b0046cd59517a44ae83d0c95e0a.tar.bz2
coreclr-f7a3a79aa7960b0046cd59517a44ae83d0c95e0a.zip
Make DBI build on Linux
- Compile DBI on Linux. - Link DBI on Linux to the point when only symbols related to INativePipeline are missing. In order to completely link DBI we'll have to do some development, and it will be addressed by a separate change. [tfs-changeset: 1411066]
Diffstat (limited to 'src/md/enc')
-rw-r--r--src/md/enc/CMakeLists.txt4
-rw-r--r--src/md/enc/liteweightstgdbrw.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/md/enc/CMakeLists.txt b/src/md/enc/CMakeLists.txt
index 0c34b7bbc5..5eda2db690 100644
--- a/src/md/enc/CMakeLists.txt
+++ b/src/md/enc/CMakeLists.txt
@@ -20,6 +20,4 @@ endif(CLR_CMAKE_PLATFORM_UNIX)
add_subdirectory(dac)
add_subdirectory(wks)
-if(WIN32)
- add_subdirectory(dbi)
-endif(WIN32) \ No newline at end of file
+add_subdirectory(dbi)
diff --git a/src/md/enc/liteweightstgdbrw.cpp b/src/md/enc/liteweightstgdbrw.cpp
index 9e75ae7635..d5063f53c8 100644
--- a/src/md/enc/liteweightstgdbrw.cpp
+++ b/src/md/enc/liteweightstgdbrw.cpp
@@ -1127,14 +1127,16 @@ CLiteWeightStgdbRW::GetRawStreamInfo(
STORAGEHEADER sHdr; // Header for the storage.
PSTORAGESTREAM pStream; // Pointer to each stream.
ULONG i; // Loop control.
+ void *pData;
+ ULONG cbData;
#ifdef FEATURE_METADATA_CUSTOM_DATA_SOURCE
if (m_pStgIO == NULL)
IfFailGo(COR_E_NOTSUPPORTED);
#endif
- void *pData = m_pStgIO->m_pData;
- ULONG cbData = m_pStgIO->m_cbData;
+ pData = m_pStgIO->m_pData;
+ cbData = m_pStgIO->m_cbData;
// Validate the signature of the format, or it isn't ours.
IfFailGo(MDFormat::VerifySignature((PSTORAGESIGNATURE) pData, cbData));