|
@@ -698,7 +698,7 @@ target("test")
|
|
|
<p>This option will be enabled if the c type is passed, for example:</p>
|
|
<p>This option will be enabled if the c type is passed, for example:</p>
|
|
|
<pre><code class="lang-lua">option("wchar")
|
|
<pre><code class="lang-lua">option("wchar")
|
|
|
set_default(false)
|
|
set_default(false)
|
|
|
- add_cincludes("wchar_t")
|
|
|
|
|
|
|
+ add_ctypes("wchar_t")
|
|
|
add_defines("HAVE_WCHAR")
|
|
add_defines("HAVE_WCHAR")
|
|
|
|
|
|
|
|
target("test")
|
|
target("test")
|