Replace some unsafe API calls with safe alternatives on Windows, prepare code for...
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Thu, 2 Apr 2015 13:27:08 +0000 (13:27 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Thu, 2 Apr 2015 13:27:08 +0000 (13:27 +0000)
commit74bf17b8ff5b7cd6908f5d7a59739479297f668e
treecda032662a2866644a9c615e05e0c9d1572e1ef1
parent1362ae750fbd9cbf32e23a56852a5d116720182d
Replace some unsafe API calls with safe alternatives on Windows, prepare code for similar actions on other platforms - wrap unsafe API calls into macros.

llvm-svn: 233915
22 files changed:
openmp/runtime/src/extractExternal.cpp
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_alloc.c
openmp/runtime/src/kmp_csupport.c
openmp/runtime/src/kmp_environment.c
openmp/runtime/src/kmp_ftn_entry.h
openmp/runtime/src/kmp_gsupport.c
openmp/runtime/src/kmp_i18n.c
openmp/runtime/src/kmp_io.c
openmp/runtime/src/kmp_lock.cpp
openmp/runtime/src/kmp_os.h
openmp/runtime/src/kmp_runtime.c
openmp/runtime/src/kmp_safe_c_api.h [new file with mode: 0644]
openmp/runtime/src/kmp_settings.c
openmp/runtime/src/kmp_stats_timing.cpp
openmp/runtime/src/kmp_str.c
openmp/runtime/src/kmp_str.h
openmp/runtime/src/kmp_tasking.c
openmp/runtime/src/kmp_threadprivate.c
openmp/runtime/src/kmp_utility.c
openmp/runtime/src/z_Linux_util.c
openmp/runtime/src/z_Windows_NT_util.c