[OpenMP] Avoid warnings about unused static functions on windows
authorMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 09:37:17 +0000 (11:37 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 12 Feb 2021 19:55:31 +0000 (21:55 +0200)
commit16428a8d91a904c841086a971a8f26c3d8cf1307
tree0653df221740c5c9c966b86d84078fcbf00c5830
parentb388c84c096b3810382d34e1e7438bd4bfcf2123
[OpenMP] Avoid warnings about unused static functions on windows

Add ifdefs around one function that only is used in unix build
configurations.

Add a void cast for a windows specific function that currently is
unused but may be intended to be used at some point.

Differential Revision: https://reviews.llvm.org/D96584
openmp/runtime/src/kmp_environment.cpp
openmp/runtime/src/kmp_io.cpp