]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/soundmgr_openal.cxx
Oops, 2nd try ...
[simgear.git] / simgear / sound / soundmgr_openal.cxx
index e9e2dfbcdac0e757d701591303e8259ca5f8de45..2d321bdf62fcd308bcd41ee27563208f429a39b0 100644 (file)
@@ -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