Include malloc.h only for MS_VC. Other platforms have it in stdlib.h

This commit is contained in:
Harald Oehlmann 2019-12-06 14:09:39 +01:00
parent f8d46f8dde
commit ce8aa92846

View File

@ -49,7 +49,9 @@
// size.
#include <stdio.h> // only needed for debug (main)
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "reedsol.h"
static int logmod; // 2**symsize - 1
static int rlen;