From 5a8f20f5a7b818e8e9d0be7f24f232bed0078834 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Wed, 8 Aug 2012 21:01:41 +0000
Subject: Move MSVC C99 gunk into autowaf.

---
 plugins/eg-synth.lv2/wscript | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'plugins/eg-synth.lv2/wscript')

diff --git a/plugins/eg-synth.lv2/wscript b/plugins/eg-synth.lv2/wscript
index 170a77b..2069d03 100644
--- a/plugins/eg-synth.lv2/wscript
+++ b/plugins/eg-synth.lv2/wscript
@@ -17,13 +17,9 @@ def options(opt):
 def configure(conf):
     conf.load('compiler_c')
     autowaf.configure(conf)
+    autowaf.set_c99_mode(conf)
     autowaf.display_header('Synth Configuration')
 
-    if conf.env.MSVC_COMPILER:
-        conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
-    else:
-        conf.env.append_unique('CFLAGS', '-std=c99')
-
     if not autowaf.is_child():
         autowaf.check_pkg(conf, 'lv2', uselib_store='LV2')
 
-- 
cgit v1.2.1