[libcxx-commits] [PATCH] D97456: [libcxx] [test] Fix the get_temp_file_name() function for mingw

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 25 04:36:24 PST 2021


curdeius added inline comments.


================
Comment at: libcxx/test/support/platform_support.h:60
 #if defined(_WIN32) || defined(__MINGW32__)
+#   define WIN32_LEAN_AND_MEAN // Reduce overhead of including windows.h
 #   include <io.h> // _mktemp_s
----------------
Would defining `VC_EXTRALEAN` as well be beneficial and possible?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97456/new/

https://reviews.llvm.org/D97456



More information about the libcxx-commits mailing list