Make compile with MS-VC6

This commit is contained in:
Harald Oehlmann 2016-09-12 13:24:18 +02:00
parent 7ae2e68396
commit 2cf489eac2
3 changed files with 7 additions and 3 deletions

View file

@ -45,7 +45,11 @@
#include <assert.h>
#include <math.h>
#ifdef _MSC_VER
#include <malloc.h>
#include <malloc.h>
/* ceilf (C99) not before MSVC++2013 (C++ 12.0) */
#if _MSC_VER < 1800
#define ceilf ceil
#endif
#endif
#include "reedsol.h"
#include "common.h"