Fix compilation of utf8proc on Windows

This commit is contained in:
Carlos Fernandez 2018-10-26 14:07:59 -07:00
parent 8861f7b40a
commit 4ff40f1be8
3 changed files with 3 additions and 5 deletions

View File

@ -8,8 +8,6 @@
#include "ccx_decoders_708_output.h"
#include "ccx_encoders_xds.h"
#include "ccx_encoders_helpers.h"
#define UTF8PROC_STATIC
#define UTF8PROC_DLLEXPORT
#include "utf8proc.h"
extern CURL *curl;

View File

@ -1,8 +1,5 @@
#include "png.h"
#include "protobuf-c.h"
#define UTF8PROC_STATIC
#define UTF8PROC_DLLEXPORT
#include "utf8proc/utf8proc.h"
#include "zlib.h"
#include "gpac/version.h"
#include "lib_ccx.h"
@ -16,6 +13,7 @@
#include "../lib_hash/sha2.h"
#include <string.h>
#include <stdio.h>
#include "utf8proc/utf8proc.h"
#ifdef ENABLE_OCR
#include "capi.h"

View File

@ -120,6 +120,8 @@ typedef bool utf8proc_bool;
#endif
#include <limits.h>
#define UTF8PROC_STATIC
#ifdef UTF8PROC_STATIC
# define UTF8PROC_DLLEXPORT
#else