Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2014-05-25 11:56:23 +0400
committerAndrea Canciani <ranma42@gmail.com>2014-05-25 12:07:34 +0400
commitd6ffe177189ae1d6b186de0d4ccd48914e4f482b (patch)
treef1bbbfd84fd6eb23d48087eb82564b4304c08260 /runtime
parentf2df46f68ecdb64e96d06240a6a7425f583beae3 (diff)
Fix the build on Visual C++
Visual C++ does not support intermixed declarations and code and errors out with: error C2275: 'guint' : illegal use of this type as an expression This also silences gcc/clang warnings such as: mono-counters.c:xxx:3: warning: ISO C90 forbids mixing declarations and code In this case this can be fixed easily by skipping the intermediate variable. Based on pull request #1043 by J-M <jean-michel.perraud@csiro.au> This change is released under the MIT license.
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions