summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGraph.C
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-21 09:37:32 (GMT)
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2017-07-21 11:40:49 (GMT)
commitf10a85adccccb3efccfc84a7d4ca12cc66c7fb1c (patch)
tree8769ca4130b57ade60673f72aa70439e335d7d3e /generic/tkbltGraph.C
parent75db3cd1d501700e657da43148197665f71d7a70 (diff)
downloadblt-f10a85adccccb3efccfc84a7d4ca12cc66c7fb1c.zip
blt-f10a85adccccb3efccfc84a7d4ca12cc66c7fb1c.tar.gz
blt-f10a85adccccb3efccfc84a7d4ca12cc66c7fb1c.tar.bz2
Add cmath and printf wrappers for Windows
Needed for compiling with MSVC 2010.
Diffstat (limited to 'generic/tkbltGraph.C')
-rw-r--r--generic/tkbltGraph.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkbltGraph.C b/generic/tkbltGraph.C
index 13e0e9a..9607f54 100644
--- a/generic/tkbltGraph.C
+++ b/generic/tkbltGraph.C
@@ -27,7 +27,8 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <float.h>
+#include <cfloat>
+#include <cmath>
#include <tkInt.h>
@@ -50,6 +51,7 @@
#include "tkbltGrDef.h"
#include "tkbltGrPostscript.h"
#include "tkbltGrPSOutput.h"
+#include "tkbltInt.h"
using namespace Blt;