commit | bd223d612d8f511444a1f8ca82f28b4d1c8e48ef | [log] [tgz] |
---|---|---|
author | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | Mon Jan 30 08:11:20 2017 +0000 |
committer | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | Mon Jan 30 08:11:20 2017 +0000 |
tree | 6459437e38e76a665207951207662d7184c56ff1 | |
parent | 7ec028b27e1c57566abdafbe4faec57d0eeeaa48 [diff] |
[libomptarget] Fix Debug build with glibc < 2.18 glibc < 2.18 is C99 compliant and only provides the format macros in C++ if __STDC_FORMAT_MACROS is defined. This change fixes the debug build for GCC 4.8, GCC 6.2 and Clang 3.9.1 that were previously broken on my machine. It shows no regression for libc++ >= 4.0.0 which has a fix since September: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160926/171659.html git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@293468 91177308-0d34-0410-b5e6-96231b3b80d8