[flang-commits] [llvm] [flang] [flang] GETPID runtime and lower intrinsic implementation (PR #70442)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Wed Nov 1 08:47:45 PDT 2023


================
@@ -11,6 +11,13 @@
 
 #include "flang/Runtime/entry-names.h"
 
+#ifdef _WIN32
+// On Windows* OS GetCurrentProcessId returns int (not pid_t)
+typedef int64 pid_t;
----------------
PAX-12-WU wrote:

Thanks a lot, a new patch has been updated, shoud pass ci now

https://github.com/llvm/llvm-project/pull/70442


More information about the flang-commits mailing list