[Openmp-commits] [PATCH] D44019: Fix build of stubs library

Phabricator via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 5 10:04:09 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326728: Fixed build of the OpenMP stubs library. (authored by achurbanov, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D44019?vs=136759&id=137033#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44019

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


Index: openmp/trunk/runtime/src/kmp_stub.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_stub.cpp
+++ openmp/trunk/runtime/src/kmp_stub.cpp
@@ -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>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44019.137033.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180305/df849730/attachment.bin>


More information about the Openmp-commits mailing list