[PATCH] D28223: clean up use of _WIN32

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 2 21:34:26 PST 2017


compnerd created this revision.
compnerd added reviewers: EricWF, mclow.lists, smeenai.
compnerd added a subscriber: cfe-commits.
compnerd set the repository for this revision to rL LLVM.

Replace the use of `_WIN32` in libc++.  Replace most use with a C runtime check `_LIBCPP_MSVCRT` or the new `_LIBCPP_WIN32` to indicate that we are using the Win32 API.  Use a new `_LIBCPP_WCHAR_IS_UCS2` to indicate that we are on an environment that has a short `wchar_t`.


Repository:
  rL LLVM

https://reviews.llvm.org/D28223

Files:
  include/__config
  include/__locale
  include/support/win32/support.h
  include/type_traits
  src/chrono.cpp
  src/include/config_elast.h
  src/locale.cpp
  src/new.cpp
  src/system_error.cpp
  src/thread.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28223.82837.patch
Type: text/x-patch
Size: 10997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170103/f9fe8e71/attachment-0001.bin>


More information about the cfe-commits mailing list