diff options
Diffstat (limited to 'openmp/runtime/src/kmp_os.h')
| -rw-r--r-- | openmp/runtime/src/kmp_os.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h index 2c70a72df11..b709ebc8b79 100644 --- a/openmp/runtime/src/kmp_os.h +++ b/openmp/runtime/src/kmp_os.h @@ -2,7 +2,6 @@ * kmp_os.h -- KPTS runtime header file. */ - //===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure @@ -12,7 +11,6 @@ // //===----------------------------------------------------------------------===// - #ifndef KMP_OS_H #define KMP_OS_H @@ -247,9 +245,9 @@ template <> struct traits_t<unsigned long long> { #include <windows.h> static inline int KMP_GET_PAGE_SIZE(void) { - SYSTEM_INFO si; - GetSystemInfo(&si); - return si.dwPageSize; + SYSTEM_INFO si; + GetSystemInfo(&si); + return si.dwPageSize; } #else #define KMP_GET_PAGE_SIZE() getpagesize() @@ -829,7 +827,6 @@ typedef void (*microtask_t)(int *gtid, int *npr, ...); #define KMP_USE_BGET 1 #endif - // Switches for OSS builds #ifndef USE_SYSFS_INFO #define USE_SYSFS_INFO 0 |

