Check compiler before including malloc.h

This commit is contained in:
Sebastian Rachner 2017-10-15 12:29:46 +02:00
parent bfb183e5df
commit 20ccbcd4e4

View File

@ -35,7 +35,9 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef _MSC_VER
#include <malloc.h>
#endif
#include "common.h"
#include "emf.h"