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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user