From 5788195fd72d61abe72e30985a761831073a7122 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Sun, 30 Dec 2012 08:58:44 -0600 Subject: [PATCH] FS-4768 fix compile error on other platforms --- libs/libteletone/src/libteletone_generate.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/libteletone/src/libteletone_generate.h b/libs/libteletone/src/libteletone_generate.h index f5899be039..b90040ee3c 100644 --- a/libs/libteletone/src/libteletone_generate.h +++ b/libs/libteletone/src/libteletone_generate.h @@ -109,11 +109,15 @@ typedef __int8 int8_t; #include #include #if !defined(powf) && !defined(_WIN64) +#ifdef _MSC_VER #pragma warning(push) #pragma warning(disable: 28251) +#endif extern float powf (float, float); +#ifdef _MSC_VER #pragma warning(pop) #endif +#endif #include #include #ifndef _MSC_VER