diff --git a/public/fpdfview.h b/public/fpdfview.h index f5212599f..57d6cda13 100644 --- a/public/fpdfview.h +++ b/public/fpdfview.h @@ -154,31 +154,20 @@ typedef int FPDF_ANNOT_APPEARANCEMODE; // Dictionary value types. typedef int FPDF_OBJECT_TYPE; -#if defined(COMPONENT_BUILD) -// FPDF_EXPORT should be consistent with |export| in the pdfium_fuzzer -// template in testing/fuzzers/BUILD.gn. -#if defined(WIN32) -#if defined(FPDF_IMPLEMENTATION) +#if defined(PDFIUM_DLLIMPLEMENTATION) +#ifdef _WIN32 #define FPDF_EXPORT __declspec(dllexport) #else -#define FPDF_EXPORT __declspec(dllimport) -#endif // defined(FPDF_IMPLEMENTATION) -#else -#if defined(FPDF_IMPLEMENTATION) -#define FPDF_EXPORT __attribute__((visibility("default"))) -#else -#define FPDF_EXPORT -#endif // defined(FPDF_IMPLEMENTATION) -#endif // defined(WIN32) +#define FPDF_EXPORT __attribute__ ((visibility("default"))) +#endif #else -#define FPDF_EXPORT -#endif // defined(COMPONENT_BUILD) - -#if defined(WIN32) && defined(FPDFSDK_EXPORTS) -#define FPDF_CALLCONV __stdcall +#ifdef _WIN32 +#define FPDF_EXPORT __declspec(dllimport) #else -#define FPDF_CALLCONV +#define FPDF_EXPORT __attribute__ ((visibility("default"))) #endif +#endif +#define FPDF_CALLCONV // Exported Functions #ifdef __cplusplus e-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLChangeImportContext.hxx
AgeCommit message (Expand)Author
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito
2011-03-12Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Thorsten Behrens
2010-10-28add modelines to .hxx files as wellCaolán McNamara
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun Mi...Jens-Heiner Rechtien
2008-04-10INTEGRATION: CWS changefileheader (1.4.162); FILE MERGEDRüdiger Timm
2007-06-27INTEGRATION: CWS vgbugs07 (1.3.274); FILE MERGEDJens-Heiner Rechtien
2005-09-09INTEGRATION: CWS ooo19126 (1.2.648); FILE MERGEDRüdiger Timm