diff options
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/config.h')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/config.h b/src/3rdparty/harfbuzz-ng/src/config.h new file mode 100644 index 0000000000..62e42e54e4 --- /dev/null +++ b/src/3rdparty/harfbuzz-ng/src/config.h @@ -0,0 +1,24 @@ +#ifndef HB_CONFIG_H +#define HB_CONFIG_H + +#define HAVE_OT + +#define HB_NO_MT +#define HB_NO_UNICODE_FUNCS + +#include <QtCore/qglobal.h> + +#ifndef HB_INTERNAL +# define HB_INTERNAL Q_DECL_HIDDEN +#endif + +// because strdup() is not part of strict Posix, declare it here +extern "C" char *strdup(const char *src); + +#ifndef HAVE_ATEXIT +# define HAVE_ATEXIT 1 +# include <QtCore/qcoreapplication.h> +# define atexit qAddPostRoutine +#endif + +#endif /* HB_CONFIG_H */ |