Go to the documentation of this file.
15#ifndef IMAGE_TOOLS__VISIBILITY_CONTROL_H_
16#define IMAGE_TOOLS__VISIBILITY_CONTROL_H_
26#if defined _WIN32 || defined __CYGWIN__
28 #define IMAGE_TOOLS_EXPORT __attribute__ ((dllexport))
29 #define IMAGE_TOOLS_IMPORT __attribute__ ((dllimport))
31 #define IMAGE_TOOLS_EXPORT __declspec(dllexport)
32 #define IMAGE_TOOLS_IMPORT __declspec(dllimport)
34 #ifdef IMAGE_TOOLS_BUILDING_DLL
35 #define IMAGE_TOOLS_PUBLIC IMAGE_TOOLS_EXPORT
37 #define IMAGE_TOOLS_PUBLIC IMAGE_TOOLS_IMPORT
39 #define IMAGE_TOOLS_PUBLIC_TYPE IMAGE_TOOLS_PUBLIC
40 #define IMAGE_TOOLS_LOCAL
42 #define IMAGE_TOOLS_EXPORT __attribute__ ((visibility("default")))
43 #define IMAGE_TOOLS_IMPORT
45 #define IMAGE_TOOLS_PUBLIC __attribute__ ((visibility("default")))
46 #define IMAGE_TOOLS_LOCAL __attribute__ ((visibility("hidden")))
48 #define IMAGE_TOOLS_PUBLIC
49 #define IMAGE_TOOLS_LOCAL
51 #define IMAGE_TOOLS_PUBLIC_TYPE