[libcxx-commits] [PATCH] D59607: libc++/win: Make once_flag have the same size as a pointer
Rui Ueyama via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 21 13:56:37 PDT 2019
ruiu added inline comments.
================
Comment at: libcxx/trunk/include/mutex:579-583
+#if defined(_LIBCPP_ABI_MICROSOFT)
+ typedef uintptr_t _State_type;
+#else
+ typedef unsigned long _State_type;
+#endif
----------------
Did you have to use `if defined`? Looks like you can always use uintptr_t.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59607/new/
https://reviews.llvm.org/D59607
More information about the libcxx-commits
mailing list