ZenLib
Conf_Internal.h
Go to the documentation of this file.
1/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
2 *
3 * Use of this source code is governed by a zlib-style license that can
4 * be found in the License.txt file in the root of the source tree.
5 */
6
7//---------------------------------------------------------------------------
8#ifndef ZenConf_InternalH
9#define ZenConf_InternalH
10//---------------------------------------------------------------------------
11
12#include "ZenLib/Conf.h"
13
14//***************************************************************************
15// Choice of method
16//***************************************************************************
17
18#ifndef ZENLIB_USEWX
19 #ifndef WINDOWS
20 #define ZENLIB_STANDARD //We select the C/C++ standard as much as possible
21 #endif
22#endif //ZENLIB_USEWX
23
24//***************************************************************************
25// Functions shared by the files of ZenLib, not in its interface
26//***************************************************************************
27
28#if defined(__GNUC__) && __GNUC__>=4 && !defined(_WIN32) && !defined(__CYGWIN__)
29 #define ZENLIB_INTERNAL __attribute__((visibility("hidden"))) //Not exported by the shared library
30#else
31 #define ZENLIB_INTERNAL
32#endif
33
34#endif