diff options
author | Sreelakshmi Haridas Maruthur <sharidas@quicinc.com> | 2024-05-07 11:03:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 10:03:02 -0700 |
commit | aa70c06d8fbd29bf1b71584a699f83cd785b03cb (patch) | |
tree | f222f822eb66d45a891d416059c83dde4c222b1e | |
parent | 46255db86f522989e6369519cabd955fbf0b86cb (diff) | |
download | OpenCL-CTS-upstream-main.tar.gz |
Fix build breakage introduced by #1911 (#1958)upstream-main
-rw-r--r-- | test_common/harness/os_helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_common/harness/os_helpers.cpp b/test_common/harness/os_helpers.cpp index e866f3e8..c64c5901 100644 --- a/test_common/harness/os_helpers.cpp +++ b/test_common/harness/os_helpers.cpp @@ -209,7 +209,7 @@ static std::string _err_msg(int err, int level) #if (defined(__ANDROID__) && __ANDROID_API__ < 23) \ || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) \ - || (defined(_GNU_SOURCE) && !defined(__GLIBC__)) + || (defined(_GNU_SOURCE) && !defined(__GLIBC__) && !defined(__USE_GNU)) // XSI version of strerror_r. #warning Not tested! |