ReSID: include math.h before trying to define M_FOO constants

This fixes a warning later, when the platform math.h gets included and
unconditionally tries to (re-)define the M_FOO constants.
This commit is contained in:
darkstar
2018-03-24 23:11:41 +01:00
parent 6898e2776c
commit 9329f84c43

View File

@@ -20,6 +20,8 @@
#ifndef __SIDDEFS_FP_H__
#define __SIDDEFS_FP_H__
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#define M_PI_f 3.14159265358979323846f