<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    This commit introduced C++ comments into a C header:<br>
    <br>
    <b><samp>./include/llvm-c/lto.h:27:1: error: expected identifier or
        '(' before '/' token</samp></b><b><samp><br>
      </samp></b><samp><b>
      </b> // MSVC in particular does not have anything like _Bool or
      bool in C, but we can</samp><br>
    <br>
    Alp.<br>
    <br>
    <div class="moz-cite-prefix">On 24/10/2013 23:26, Reid Kleckner
      wrote:<br>
    </div>
    <blockquote cite="mid:20131024222604.70AE72A6C029@llvm.org"
      type="cite">
      <pre wrap="">+#ifndef __cplusplus
+#if !defined(_MSC_VER)
+#include <stdbool.h>
+typedef bool lto_bool_t;
+#else
+// MSVC in particular does not have anything like _Bool or bool in C, but we can
+// at least make sure the type is the same size.  The implementation side will
+// use C++ bool.
+typedef unsigned char lto_bool_t;
+#endif
+#else
+typedef bool lto_bool_t;
+#endif
+</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.nuanti.com">http://www.nuanti.com</a>
the browser experts
</pre>
  </body>
</html>