]> granicus.if.org Git - taglib/commitdiff
ldexp is a c99-ism, which is not available in strict C++; use math.h as well to pull...
authorAdriaan de Groot <groot@kde.org>
Fri, 16 May 2008 22:59:07 +0000 (22:59 +0000)
committerAdriaan de Groot <groot@kde.org>
Fri, 16 May 2008 22:59:07 +0000 (22:59 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@808578 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

taglib/riff/aiff/aiffproperties.cpp

index df867fcc5f448e0eab5ecf80920b60a7cd4453a1..e60d936d856fceb8573abb3b90a2241ad3e1b53d 100644 (file)
 #include <tstring.h>
 #include <tdebug.h>
 #include <cmath>
+// ldexp is a c99 function, which might not be defined in <cmath>
+// so we pull in math.h too and hope it does the right (wrong) thing
+// wrt. c99 functions in C++
+#include <math.h>
 
 #include "aiffproperties.h"