diff options
author | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-02-05 14:19:32 -0800 |
---|---|---|
committer | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-02-05 14:19:32 -0800 |
commit | f7a3a79aa7960b0046cd59517a44ae83d0c95e0a (patch) | |
tree | 37b2c4a3329ec13f344cda4602489721b13cd08b /src/palrt | |
parent | a71f0715019300102e9b688e682f8781068f3265 (diff) | |
download | coreclr-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/palrt')
-rw-r--r-- | src/palrt/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/palrt/variant.cpp | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/src/palrt/CMakeLists.txt b/src/palrt/CMakeLists.txt index 231e95960f..e2e55c3141 100644 --- a/src/palrt/CMakeLists.txt +++ b/src/palrt/CMakeLists.txt @@ -13,6 +13,7 @@ set(PALRT_SOURCES memorystream.cpp path.cpp urlpars.cpp + variant.cpp ) add_compile_options(-fPIC) diff --git a/src/palrt/variant.cpp b/src/palrt/variant.cpp new file mode 100644 index 0000000000..6b1203ba46 --- /dev/null +++ b/src/palrt/variant.cpp @@ -0,0 +1,34 @@ +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// +// + +// +// =========================================================================== +// File: variant.cpp +// +// PALRT variant conversion functions +// =========================================================================== + +#include "common.h" + +/*** +*PUBLIC void VariantInit(VARIANT*) +*Purpose: +* Initialize the given VARIANT to VT_EMPTY. +* +*Entry: +* None +* +*Exit: +* return value = void +* +* pvarg = pointer to initialized VARIANT +* +***********************************************************************/ +STDAPI_(void) +VariantInit(VARIANT FAR* pvarg) +{ + V_VT(pvarg) = VT_EMPTY; +}
\ No newline at end of file |