default to use UNICODE on windows

This commit is contained in:
Arvid Norberg
2008-07-20 11:53:21 +00:00
parent 417855848f
commit d16629f7c8
3 changed files with 5 additions and 5 deletions

View File

@@ -221,7 +221,7 @@ feature.compose <openssl>off : <define>TORRENT_DISABLE_ENCRYPTION ;
feature resolve-countries : on off : composite propagated link-incompatible ; feature resolve-countries : on off : composite propagated link-incompatible ;
feature.compose <resolve-countries>off : <define>TORRENT_DISABLE_RESOLVE_COUNTRIES ; feature.compose <resolve-countries>off : <define>TORRENT_DISABLE_RESOLVE_COUNTRIES ;
feature character-set : ansi unicode : composite propagated link-incompatible ; feature character-set : unicode ansi : composite propagated link-incompatible ;
feature.compose <character-set>unicode : <define>_UNICODE <define>UNICODE ; feature.compose <character-set>unicode : <define>_UNICODE <define>UNICODE ;
feature zlib : shipped system : composite propagated link-incompatible ; feature zlib : shipped system : composite propagated link-incompatible ;

View File

@@ -345,10 +345,10 @@ information.</li>
<td><p class="first">This setting will only have an affect on windows. <td><p class="first">This setting will only have an affect on windows.
Other platforms are expected to support UTF-8.</p> Other platforms are expected to support UTF-8.</p>
<ul class="last simple"> <ul class="last simple">
<li><tt class="docutils literal"><span class="pre">unicode</span></tt> - The unicode version of the win32
API is used. This is default.</li>
<li><tt class="docutils literal"><span class="pre">ansi</span></tt> - The ansi version of the win32 API is <li><tt class="docutils literal"><span class="pre">ansi</span></tt> - The ansi version of the win32 API is
used.</li> used.</li>
<li><tt class="docutils literal"><span class="pre">unicode</span></tt> - The unicode version of the win32
API is used.</li>
</ul> </ul>
</td> </td>
</tr> </tr>

View File

@@ -303,10 +303,10 @@ Build features:
| ``character-set`` | This setting will only have an affect on windows. | | ``character-set`` | This setting will only have an affect on windows. |
| | Other platforms are expected to support UTF-8. | | | Other platforms are expected to support UTF-8. |
| | | | | |
| | * ``unicode`` - The unicode version of the win32 |
| | API is used. This is default. |
| | * ``ansi`` - The ansi version of the win32 API is | | | * ``ansi`` - The ansi version of the win32 API is |
| | used. | | | used. |
| | * ``unicode`` - The unicode version of the win32 |
| | API is used. |
+------------------------+----------------------------------------------------+ +------------------------+----------------------------------------------------+
| ``invariant-checks`` | This setting only affects debug builds (where | | ``invariant-checks`` | This setting only affects debug builds (where |
| | ``NDEBUG`` is not defined). It defaults to ``on``. | | | ``NDEBUG`` is not defined). It defaults to ``on``. |