OpenCC // Swift 5.7 compilation compatibility.
- The Swift 5.7 toolchain makes the cpp compilation (for files in OpenCC) stricter than before.
This commit is contained in:
parent
062914d115
commit
1625cc6fc4
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <malloc/_malloc.h>
|
||||||
|
|
||||||
#include "BinaryDict.hpp"
|
#include "BinaryDict.hpp"
|
||||||
#include "DartsDict.hpp"
|
#include "DartsDict.hpp"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "DictConverter.hpp"
|
#include "DictConverter.hpp"
|
||||||
#include "MarisaDict.hpp"
|
#include "MarisaDict.hpp"
|
||||||
#include "TextDict.hpp"
|
#include "TextDict.hpp"
|
||||||
|
|
Loading…
Reference in New Issue