From: curt Date: Thu, 7 May 1998 23:20:45 +0000 (+0000) Subject: Moved the extern "C" { } until after all the includes have been done. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a233ddfbb94bc3eda6f50cbb382e001bae6155f;p=simgear.git Moved the extern "C" { } until after all the includes have been done. --- diff --git a/Math/mat3.h b/Math/mat3.h index dd4e67db..89148b1c 100644 --- a/Math/mat3.h +++ b/Math/mat3.h @@ -7,10 +7,6 @@ #ifndef MAT3_HAS_BEEN_INCLUDED #define MAT3_HAS_BEEN_INCLUDED -#ifdef __cplusplus -extern "C" { -#endif - /* ----------------------------- Constants ------------------------------ */ /* @@ -23,6 +19,11 @@ extern "C" { #include +#ifdef __cplusplus +extern "C" { +#endif + + #define MAT3_DET0 -1 /* Indicates singular mat */ #define MAT3_EPSILON 1e-12 /* Close enough to zero */ #define MAT3_PI 3.141592653589793 /* Pi */ @@ -147,9 +148,11 @@ int MAT3mult_hvec (MAT3hvec result_vec, MAT3hvec vec, MAT3mat mat, int normaliz void MAT3cross_product(MAT3vec result,MAT3vec,MAT3vec); void MAT3perp_vec(MAT3vec result_vec, MAT3vec vec, int is_unit); + #ifdef __cplusplus } #endif + #endif /* MAT3_HAS_BEEN_INCLUDED */