mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
* Remove APIs unavailable in Store in #8349, #8178, #8065 * Add UWP stubs of C runtime functions * Remove UWP incompatible tests from UWP build * Remove incompatible tests from Store * Use UWP stubs in store only * Skip partition check outside of Windows * Remove unused WRL include * Workaround Windows header not including what it uses * Fix precompiled header name clash * Workaround SDK bugs * DXCore workaround in Win7 * Fix warning * Fix more warnings * Bump WinML to target Windows 8 * Fix more warnings * Remove unnecessary workarounds * Remove Desktop only APIs from DML adapter
11 lines
431 B
C++
11 lines
431 B
C++
#pragma once
|
|
// Part of the standard C runtime and the STL are missing when targeting UWP, and some applications that rely on standard,
|
|
// cross-platform headers fail to build.
|
|
// Here we provide stubs for functions required by some onnxruntime dependencies.
|
|
#ifdef __cplusplus
|
|
// Extending the std namespace is undefined behavior
|
|
// NOLINTNEXTLINE
|
|
namespace std {
|
|
inline char *getenv(const char*) { return nullptr; }
|
|
}
|
|
#endif
|