[libc-commits] [libc] a31f6d2 - [libc][Obvious] Fix few typos in FPUtil/TestHelpers.cpp
Siva Chandra Reddy via libc-commits
libc-commits at lists.llvm.org
Wed Jul 21 01:09:58 PDT 2021
Author: Siva Chandra Reddy
Date: 2021-07-21T08:07:35Z
New Revision: a31f6d2ccf6ed23c2723544f6a8cb6506c28475e
URL: https://github.com/llvm/llvm-project/commit/a31f6d2ccf6ed23c2723544f6a8cb6506c28475e
DIFF: https://github.com/llvm/llvm-project/commit/a31f6d2ccf6ed23c2723544f6a8cb6506c28475e.diff
LOG: [libc][Obvious] Fix few typos in FPUtil/TestHelpers.cpp
Added:
Modified:
libc/utils/FPUtil/TestHelpers.cpp
Removed:
################################################################################
diff --git a/libc/utils/FPUtil/TestHelpers.cpp b/libc/utils/FPUtil/TestHelpers.cpp
index 5f33eedf9bc69..cdc874545f8ab 100644
--- a/libc/utils/FPUtil/TestHelpers.cpp
+++ b/libc/utils/FPUtil/TestHelpers.cpp
@@ -8,9 +8,9 @@
#include "TestHelpers.h"
-#include "FEnv.h"
#include "FPBits.h"
+#include <fenv.h>
#include <memory>
#include <setjmp.h>
#include <signal.h>
@@ -74,10 +74,10 @@ template void describeValue<double>(const char *, double,
template void describeValue<long double>(const char *, long double,
testutils::StreamWrapper &);
-#if defined(__WIN32) || defined(_WIN64)
+#if defined(_WIN32) || defined(_WIN64)
#define sigjmp_buf jmp_buf
#define sigsetjmp(buf, save) setjmp(buf)
-#define siglongjmp(buf) longjmp(buf)
+#define siglongjmp(buf, val) longjmp(buf, val)
#endif
static thread_local sigjmp_buf jumpBuffer;
More information about the libc-commits
mailing list