summaryrefslogtreecommitdiff
path: root/gr-vocoder/lib/codec2/fdmdv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gr-vocoder/lib/codec2/fdmdv.c')
-rw-r--r--gr-vocoder/lib/codec2/fdmdv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-vocoder/lib/codec2/fdmdv.c b/gr-vocoder/lib/codec2/fdmdv.c
index 8855f76ae5..51d6bef544 100644
--- a/gr-vocoder/lib/codec2/fdmdv.c
+++ b/gr-vocoder/lib/codec2/fdmdv.c
@@ -25,7 +25,7 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && (_MSC_VER < 1800) // round() not available before VS 2013
#define round(number) number < 0.0 ? ceil(number - 0.5) : floor(number + 0.5)
#endif