/usr/include/dcmtk/ofstd/ofexport.h is in libdcmtk-dev 3.6.1~20150924-5.
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 51 52 53 54 55 56 57 58 59 60 | /*
*
* Copyright (C) 2012-2014, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: ofstd
*
* Author: Uli Schlachter
*
* Purpose: common defines for import and exporting symbols
*
*/
#ifndef OFEXPORT_H
#define OFEXPORT_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#ifdef DCMTK_SHARED
#ifdef _WIN32
/* Defines needed for building DLLs on windows */
#define DCMTK_DECL_EXPORT __declspec(dllexport)
/* Only use dllimport when DCMTK gets linked into multiple shared libraries. */
#if !(defined(DCMTK_BUILD_SINGLE_SHARED_LIBRARY) && defined(DCMTK_BUILD_IN_PROGRESS))
#define DCMTK_DECL_IMPORT __declspec(dllimport)
#else
/* We are building a single shared library and are currently inside the DCMTK.
* Mark imported symbols as exported to avoid compiler warnings.
*/
#define DCMTK_DECL_IMPORT __declspec(dllexport)
#endif
#else
#ifdef HAVE_HIDDEN_VISIBILITY
/* GCC hides everything when given -fvisibility=hidden. The symbols which
* should be visible have to get a default visibility again.
*/
#define DCMTK_DECL_EXPORT __attribute__ ((visibility("default")))
#endif
#endif
#endif
#ifndef DCMTK_DECL_EXPORT
#define DCMTK_DECL_EXPORT
#endif
#ifndef DCMTK_DECL_IMPORT
#define DCMTK_DECL_IMPORT
#endif
#endif
|