mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Add .lib file and pdfium import macros
This commit is contained in:
parent
e452cc9a6d
commit
a005846098
13
dependencies/pdfium/public/fpdfview.h
vendored
13
dependencies/pdfium/public/fpdfview.h
vendored
@ -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
|
||||
|
BIN
dependencies/pdfium/x86/pdfium.dll
vendored
BIN
dependencies/pdfium/x86/pdfium.dll
vendored
Binary file not shown.
BIN
dependencies/pdfium/x86/pdfium.lib
vendored
Normal file
BIN
dependencies/pdfium/x86/pdfium.lib
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user