X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fsoundmgr_openal.cxx;h=2d321bdf62fcd308bcd41ee27563208f429a39b0;hb=709a166bd6b9d15f42100e5bfea52e5e6c0e8c0e;hp=e9e2dfbcdac0e757d701591303e8259ca5f8de45;hpb=055e969e7a9b19792945d12f8850ba4b55cba85d;p=simgear.git diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index e9e2dfbc..2d321bdf 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -47,7 +47,11 @@ inline int (isnan)(double r) { return isnan(r); } #endif #if defined (__FreeBSD__) -inline int isnan(double r) { return !(r <= 0 || r >= 0); } +# if __FreeBSD_version < 500000 + extern "C" { + inline int isnan(double r) { return !(r <= 0 || r >= 0); } + } +# endif #endif #include STL_IOSTREAM