forked from OSchip/llvm-project
[libc++] Remove workaround for missing declarations on Windows store apps
We don't need preprocessor logic to exclude those declarations when compiling for the Windows App Store, because that is handled by using_if_exists now. Differential Revision: https://reviews.llvm.org/D108632
This commit is contained in:
parent
21f73d5826
commit
a805a15b28
|
@ -294,16 +294,6 @@
|
|||
# define _LIBCPP_HAS_BITSCAN64
|
||||
# endif
|
||||
# define _LIBCPP_HAS_OPEN_WITH_WCHAR
|
||||
|
||||
// Some CRT APIs are unavailable to store apps
|
||||
# if defined(WINAPI_FAMILY)
|
||||
# include <winapifamily.h>
|
||||
# if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && \
|
||||
(!defined(WINAPI_PARTITION_SYSTEM) || \
|
||||
!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_SYSTEM))
|
||||
# define _LIBCPP_WINDOWS_STORE_APP
|
||||
# endif
|
||||
# endif
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
#ifdef __sun__
|
||||
|
|
|
@ -115,10 +115,8 @@ using ::abort _LIBCPP_USING_IF_EXISTS;
|
|||
using ::atexit _LIBCPP_USING_IF_EXISTS;
|
||||
using ::exit _LIBCPP_USING_IF_EXISTS;
|
||||
using ::_Exit _LIBCPP_USING_IF_EXISTS;
|
||||
#ifndef _LIBCPP_WINDOWS_STORE_APP
|
||||
using ::getenv _LIBCPP_USING_IF_EXISTS;
|
||||
using ::system _LIBCPP_USING_IF_EXISTS;
|
||||
#endif
|
||||
using ::bsearch _LIBCPP_USING_IF_EXISTS;
|
||||
using ::qsort _LIBCPP_USING_IF_EXISTS;
|
||||
using ::abs _LIBCPP_USING_IF_EXISTS;
|
||||
|
|
Loading…
Reference in New Issue