]> git.tdb.fi Git - libs/gui.git/commitdiff
Compile OS X .m files in C99 mode
authorMikko Rasa <tdb@tdb.fi>
Sat, 11 Oct 2014 09:43:36 +0000 (12:43 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 11 Oct 2014 10:40:59 +0000 (13:40 +0300)
Some features, such as // comments and mixed declarations and code, are
not compatible with ANSI C.

Build

diff --git a/Build b/Build
index 5ff4f7844ad9a6221db355ebefe59a02bb947fdc..75f78840fc111611ec3b4d5e2df7ffaf909a12f8 100644 (file)
--- a/Build
+++ b/Build
@@ -127,6 +127,10 @@ package "mspgui"
                        {
                                overlay "cgl";
                        };
+                       build_info
+                       {
+                               standard CC "c99";
+                       };
                };
                if_arch "!windows & !darwin"
                {