diff --git a/dependencies/pdfium/public/fpdfview.h b/dependencies/pdfium/public/fpdfview.h index 7378d5f9..843814ce 100644 --- a/dependencies/pdfium/public/fpdfview.h +++ b/dependencies/pdfium/public/fpdfview.h @@ -126,14 +126,19 @@ typedef struct _FS_RECTF_ { // Const Pointer to FS_RECTF structure. typedef const FS_RECTF* FS_LPCRECTF; -#if defined(_WIN32) && defined(FPDFSDK_EXPORTS) +#if defined(_WIN32) && defined (_MSC_VER) +#if defined(FPDFSDK_EXPORTS) // On Windows system, functions are exported in a DLL #define DLLEXPORT __declspec(dllexport) #define STDCALL __stdcall +#else +#define DLLEXPORT __declspec(dllimport) +#define STDCALL __stdcall +#endif //FPDF_EXPORTS #else -#define DLLEXPORT -#define STDCALL -#endif +#define DLLEXPORT __declspec(dllimport) +#define STDCALL __stdcall +#endif //WIN32 // Exported Functions #ifdef __cplusplus diff --git a/dependencies/pdfium/x86/pdfium.dll b/dependencies/pdfium/x86/pdfium.dll index 1c62bb5b..e3cec0d0 100644 Binary files a/dependencies/pdfium/x86/pdfium.dll and b/dependencies/pdfium/x86/pdfium.dll differ diff --git a/dependencies/pdfium/x86/pdfium.lib b/dependencies/pdfium/x86/pdfium.lib new file mode 100644 index 00000000..fc28dc0c Binary files /dev/null and b/dependencies/pdfium/x86/pdfium.lib differ