[PATCH] D28220: provide Win32 native threading
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 6 16:53:22 PST 2017
EricWF added inline comments.
================
Comment at: include/__threading_support:30
+#define WIN32_LEAN_AND_MEAN
+#include <Windows.h>
+#include <process.h>
----------------
> Can we do as Reid suggests and not expose users to windows.h?
I was about to ask the same question. These includes are dragging in the `__deallocate` macro and I would love to avoid that.
Repository:
rL LLVM
https://reviews.llvm.org/D28220
More information about the cfe-commits
mailing list