/usr/include/libfilezilla/private/visibility.hpp is in libfilezilla-dev 0.4.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | #ifndef LIBFILEZILLA_PRIVATE_VISIBILITY_HEADER
#define LIBFILEZILLA_PRIVATE_VISIBILITY_HEADER
// Symbol visibility. There are two main cases: Building libfilezilla and using it
#ifdef BUILDING_LIBFILEZILLA
// Two cases when building: Windows, other platform
#ifdef FZ_WINDOWS
// Under Windows we can either use Visual Studio or a proper compiler
#ifdef _MSC_VER
#ifdef DLL_EXPORT
#define FZ_PUBLIC_SYMBOL __declspec(dllexport)
#endif
#else
#ifdef DLL_EXPORT
#define FZ_PUBLIC_SYMBOL __declspec(dllexport)
#else
#define FZ_PUBLIC_SYMBOL __attribute__((visibility("default")))
#define FZ_PRIVATE_SYMBOL __attribute__((visibility("hidden")))
#endif
#endif
#else
#define FZ_PUBLIC_SYMBOL __attribute__((visibility("default")))
#define FZ_PRIVATE_SYMBOL __attribute__((visibility("hidden")))
#endif
#else
// Under MSW it makes a difference whether we use a static library or a DLL
#if defined(FZ_WINDOWS) && defined(FZ_USING_DLL)
#define FZ_PUBLIC_SYMBOL __declspec(dllimport)
#endif
#endif
#ifndef FZ_PUBLIC_SYMBOL
#define FZ_PUBLIC_SYMBOL
#endif
#ifndef FZ_PRIVATE_SYMBOL
#define FZ_PRIVATE_SYMBOL
#endif
#endif
|