mirror of https://github.com/kiwix/libkiwix.git
+ try to fix compilation issue on OSX
This commit is contained in:
parent
c67bbf3922
commit
2554f3e93a
|
@ -20,6 +20,10 @@
|
||||||
#ifndef KIWIX_COMPONENTTOOLS_H
|
#ifndef KIWIX_COMPONENTTOOLS_H
|
||||||
#define KIWIX_COMPONENTTOOLS_H
|
#define KIWIX_COMPONENTTOOLS_H
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
typedef uint16_t char16_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "nsStringAPI.h"
|
#include "nsStringAPI.h"
|
||||||
|
|
||||||
const char *nsStringToCString(const nsAString &str);
|
const char *nsStringToCString(const nsAString &str);
|
||||||
|
|
Loading…
Reference in New Issue