xspice, cm.h, swallow warnings

This commit is contained in:
rlar 2016-10-13 20:07:37 +02:00
parent 99e864b6bc
commit b4119b94e3
1 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,13 @@ NON-STANDARD FEATURES
#include <math.h>
#if defined(_MSC_VER)
#include <malloc.h>
#define fileno _fileno
#else
#include <unistd.h>
#endif
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif