[all-commits] [llvm/llvm-project] 25a2d5: [libc++] Guard the whole print.cpp file with _LIBC...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Sun Nov 5 15:24:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 25a2d51842dc03a2b4cb9039aed5457495a2d29a
https://github.com/llvm/llvm-project/commit/25a2d51842dc03a2b4cb9039aed5457495a2d29a
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-11-05 (Sun, 05 Nov 2023)
Changed paths:
M libcxx/src/print.cpp
Log Message:
-----------
[libc++] Guard the whole print.cpp file with _LIBCPP_WIN32API (#71122)
The print.cpp source file is only used when building on Windows. Avoid
including anything else but <__config> in the file in the case where
there's nothing to compile here at all. As a drive-by change, use
_LIBCPP_WIN32API consistently instead of _WIN32.
More information about the All-commits
mailing list