[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kimgio
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-02-10 12:10:07
Message-ID: 20050210121007.B73B21D1E0 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
sqrtf is part of C99 standard, use sqrt for non-C99 platforms.
(Please test that this indeed works correctly on solaris 2.6)
BUG: 99004
M +4 -0 dds.cpp 1.11
--- kdelibs/kimgio/dds.cpp #1.10:1.11
@@ -29,4 +29,8 @@
#include <math.h> // sqrtf
+#ifndef __USE_ISOC99
+#define sqrtf(x) ((float)sqrt(x))
+#endif
+
typedef Q_UINT32 uint;
typedef Q_UINT16 ushort;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic