[Openmp-commits] [openmp] r326728 - Fixed build of the OpenMP stubs library.

Andrey Churbanov via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 5 10:01:48 PST 2018


Author: achurbanov
Date: Mon Mar  5 10:01:47 2018
New Revision: 326728

URL: http://llvm.org/viewvc/llvm-project?rev=326728&view=rev
Log:
Fixed build of the OpenMP stubs library.

Differential Revision: https://reviews.llvm.org/D44019

Modified:
    openmp/trunk/runtime/src/kmp_stub.cpp

Modified: openmp/trunk/runtime/src/kmp_stub.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_stub.cpp?rev=326728&r1=326727&r2=326728&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_stub.cpp (original)
+++ openmp/trunk/runtime/src/kmp_stub.cpp Mon Mar  5 10:01:47 2018
@@ -15,9 +15,9 @@
 #include <limits.h>
 #include <stdlib.h>
 
+#include "omp.h" // omp_* declarations, must be included before "kmp.h"
 #include "kmp.h" // KMP_DEFAULT_STKSIZE
 #include "kmp_stub.h"
-#include "omp.h" // Function renamings.
 
 #if KMP_OS_WINDOWS
 #include <windows.h>




More information about the Openmp-commits mailing list