/usr/include/openslide/openslide-features.h is in libopenslide-dev 3.4.0-1+b3.
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | /*
* OpenSlide, a library for reading whole slide image files
*
* Copyright (c) 2007-2012 Carnegie Mellon University
* All rights reserved.
*
* OpenSlide is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, version 2.1.
*
* OpenSlide is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with OpenSlide. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#ifndef OPENSLIDE_OPENSLIDE_FEATURES_H_
#define OPENSLIDE_OPENSLIDE_FEATURES_H_
#ifndef __cplusplus
# ifdef _MSC_VER
# ifndef bool
# define bool unsigned char
# endif
# ifndef true
# define true 1
# endif
# ifndef false
# define false 0
# endif
# ifndef __bool_true_false_are_defined
# define __bool_true_false_are_defined 1
# endif
# else
# include <stdbool.h>
# endif
#endif
// for exporting from shared libraries or DLLs
#if defined _WIN32
# ifdef _OPENSLIDE_BUILDING_DLL
# define OPENSLIDE_PUBLIC() __declspec(dllexport)
# else
# define OPENSLIDE_PUBLIC() __declspec(dllimport)
# endif
#elif __GNUC__ > 3
# define OPENSLIDE_PUBLIC() __attribute__ ((visibility("default")))
#else
# define OPENSLIDE_PUBLIC()
#endif
// if possible, produce compiler warnings when deprecated functions
// are used
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
# define OPENSLIDE_DEPRECATED() __attribute__((deprecated))
#else
# define OPENSLIDE_DEPRECATED()
#endif
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
# define OPENSLIDE_DEPRECATED_FOR(f) \
__attribute__((deprecated("Use " #f " instead")))
#else
# define OPENSLIDE_DEPRECATED_FOR(f) OPENSLIDE_DEPRECATED()
#endif
#endif
|