readosm.h | readosm.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
/ the terms of any one of the MPL, the GPL or the LGPL. | / the terms of any one of the MPL, the GPL or the LGPL. | |||
/ | / | |||
*/ | */ | |||
/** | /** | |||
\file readosm.h | \file readosm.h | |||
Function declarations and constants for ReadOSM library | Function declarations and constants for ReadOSM library | |||
*/ | */ | |||
#ifndef DOXYGEN_SHOULD_SKIP_THIS | #ifndef DOXYGEN_SHOULD_SKIP_THIS | |||
#ifdef _WIN32 | ||||
#ifdef DLL_EXPORT | #ifdef DLL_EXPORT | |||
#define READOSM_DECLARE __declspec(dllexport) | #define READOSM_DECLARE __declspec(dllexport) | |||
#define READOSM_PRIVATE | ||||
#else | #else | |||
#define READOSM_DECLARE extern | #define READOSM_DECLARE extern | |||
#define READOSM_PRIVATE | ||||
#endif | ||||
#else | ||||
#define READOSM_DECLARE __attribute__ ((visibility("default"))) | ||||
#define READOSM_PRIVATE __attribute__ ((visibility("hidden"))) | ||||
#endif | #endif | |||
#endif | #endif | |||
#ifndef _READOSM_H | #ifndef _READOSM_H | |||
#ifndef DOXYGEN_SHOULD_SKIP_THIS | #ifndef DOXYGEN_SHOULD_SKIP_THIS | |||
#define _READOSM_H | #define _READOSM_H | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" | extern "C" | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 7 lines changed or added | |||