[llvm-commits] [PATCH] Fix build of BlocksRuntime with MSVC

Charles Davis cdavis at mymail.mines.edu
Wed Apr 21 16:33:48 PDT 2010


Hi,

I created this patch to help a friend compile the BlocksRuntime part of
compiler-rt on Windows with MSVC. (Actually, I told him which changes to
make, and he generated a svn diff which I cleaned up a little.) I just
want to run this past you guys before committing.

The main problem is that MSVC doesn't have a stdbool.h, so this patch
works around that. It also compensates for the fact that MSVC doesn't
define __WIN32__.

Chip
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pastie-928932.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100421/f8124e73/attachment.ksh>


More information about the llvm-commits mailing list