/usr/include/Synopsis/config.hh is in libsynopsis0.12-dev 0.12-10.
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 | //
// Copyright (C) 2007 Stefan Seefeld
// All rights reserved.
// Licensed to the public under the terms of the GNU LGPL (>= 2),
// see the file COPYING for details.
//
#ifndef Synopsis_config_hh_
#define Synopsis_config_hh_
// The following code is an adaptation from suggestions made
// at http://gcc.gnu.org/wiki/Visibility
// Shared library support
#ifdef WIN32
#define SYN_IMPORT __declspec(dllimport)
#define SYN_EXPORT __declspec(dllexport)
#define SYN_DSO_LOCAL
#define SYN_DSO_PUBLIC
#else
#define SYN_IMPORT
#ifdef GCC_HASCLASSVISIBILITY
#define SYN_IMPORT __attribute__ ((visibility("default")))
#define SYN_EXPORT __attribute__ ((visibility("default")))
#define SYN_DSO_LOCAL __attribute__ ((visibility("hidden")))
#define SYN_DSO_PUBLIC __attribute__ ((visibility("default")))
#else
#define SYN_IMPORT
#define SYN_EXPORT
#define SYN_DSO_LOCAL
#define SYN_DSO_PUBLIC
#endif
#endif
// Define SYNOPSIS_API for DSO builds
#ifdef SYNOPSIS_DSO
#ifdef SYNOPSIS_DSO_EXPORTS
#define SYNOPSIS_API SYN_EXPORT
#else
#define SYNOPSIS_API SYN_IMPORT
#endif // SYNOPSIS_DSO_EXPORTS
#else
#define SYNOPSIS_API
#endif // SYNOPSIS_DSO
#endif
|