Loading...
Searching...
No Matches
5#ifndef PODOFO_BASE_DEFS_H
6#define PODOFO_BASE_DEFS_H
30#if defined(PODOFO_SHARED) && defined(PODOFO_STATIC)
31 #error "Both PODOFO_SHARED and PODOFO_STATIC defined!"
47 #define PODOFO_EXPORT __declspec(dllexport)
48 #define PODOFO_IMPORT __declspec(dllimport)
49 #define PODOFO_DEPRECATED
56 #define PODOFO_EXPORT __attribute__ ((visibility("default")))
57 #define PODOFO_IMPORT __attribute__ ((visibility("default")))
58 #define PODOFO_DEPRECATED __attribute__((__deprecated__))
61#if defined(PODOFO_BUILD)
62#define PODOFO_API PODOFO_EXPORT
64#define PODOFO_API PODOFO_IMPORT
73#if defined(_WIN32) && !defined(PODOFO_WIN32_SKIP_UNDEF_MACROS)
101#define PODOFO_SUPPRESS_DEPRECATED_PUSH __pragma(warning(push)) __pragma(warning(disable: 4996))
102#define PODOFO_SUPPRESS_DEPRECATED_POP __pragma(warning(pop))
103#elif defined(__GNUC__) || defined(__clang__)
104#define PODOFO_SUPPRESS_DEPRECATED_PUSH _Pragma("GCC diagnostic push") \
105 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
106#define PODOFO_SUPPRESS_DEPRECATED_POP _Pragma("GCC diagnostic pop")
108#define PODOFO_SUPPRESS_DEPRECATED_PUSH
109#define PODOFO_SUPPRESS_DEPRECATED_POP
113#define PODOFO_PRIVATE_FRIEND(identifier)
115#ifndef PODOFO_3RDPARTY_INTEROP_ENABLED
120#define PODOFO_3RDPARTY_INTEROP_ENABLED 0
124#include "basecompat.h"
127#include "podofo_config.h"