fix_stdlib_resolving.patch 498 B

123456789101112131415161718
  1. diff --git a/omp.h b/omp.h
  2. index f2e6345..cb2fe49 100644
  3. --- a/omp.h
  4. +++ b/omp.h
  5. @@ -15,7 +15,13 @@
  6. #ifndef __OMP_H
  7. # define __OMP_H
  8. +#if 0 // !defined(NORUNTIME) && !defined(USE_STL_SYSTEM)
  9. + // We need to put all possible dependencies to prevent blinking:
  10. + // on all stdlib.h that can be mentioned here within a platform.
  11. +# include <contrib/libs/cxxsupp/libcxx/include/stdlib.h>
  12. +#else
  13. # include <stdlib.h>
  14. +#endif
  15. # include <stdint.h>
  16. # define KMP_VERSION_MAJOR 5