mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-23 11:34:56 +01:00

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.