diff options
| author | JosJuice <josjuice@gmail.com> | 2017-12-16 13:08:50 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-12-18 22:09:02 +0100 |
| commit | bd5da5cfd60d2d2321579800ed62471a4a663e88 (patch) | |
| tree | 8e04fe4a43badfb244829bf6ab587e9d8349a924 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | ba01642dc78a44126b334d7ff4d3ceae5fec7902 (diff) | |
Handle both the XSI and GNU versions of strerror_r
Trying to force the XSI version by undefining _GNU_SOURCE can lead
to compilation errors on some systems because of headers expecting
that _GNU_SOURCE is defined.
This commit uses define checks to detect which version we have.
I tried making an overloaded function (int and const char*) instead,
but that led to a warning about one of the variants being unused.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
