Remove #ifdef __cplusplus, as it caused C2732 (differences in linkage). Compiles and runs fine without.

This commit is contained in:
Nathan Letwory
2011-02-18 14:50:49 +00:00
parent 75bcf5b0b1
commit 71e80f606c

View File

@@ -32,10 +32,6 @@
* \ingroup bli
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WIN32
#define _USE_MATH_DEFINES
#endif
@@ -172,15 +168,11 @@ MINLINE float power_of_2(float f);
MINLINE float shell_angle_to_dist(float angle);
#if (defined(WIN32) || defined(WIN64)) && !defined(FREE_WINDOWS)
double copysign(double x, double y);
double round(double x);
extern double copysign(double x, double y);
extern double round(double x);
#endif
double double_round(double x, int ndigits);
#ifdef __cplusplus
}
#endif
#endif /* BLI_MATH_BASE_H */