This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix ctest.h to build using clang on windows
tags/v0.3.18
Niyas Sait
4 years ago
parent
cdb5d2737e
commit
c6c2a71fb7
1 changed files
with
7 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-2
utest/ctest.h
+ 7
- 2
utest/ctest.h
View File
@@ -65,9 +65,14 @@ struct ctest {
#undef CTEST_SEGFAULT
#endif
#if defined(_WIN32) && defined(_MSC_VER)
#if defined(_WIN32)
#if defined(__clang__)
#define __CTEST_NO_TIME
#undef CTEST_SEGFAULT
#elif defined(_MSC_VER)
#define __CTEST_MSVC
#endif
#endif
//config for MSVC compiler
#ifdef __CTEST_MSVC
@@ -286,7 +291,7 @@ void assert_dbl_far(double exp, double real, double tol, const char* caller, int
#endif
#include <stdint.h>
#ifdef _
_CTEST_MSVC
#ifdef _
WIN32
#include <io.h>
#else
#include <unistd.h>
Write
Preview
Loading…
Cancel
Save