clockUtils  1.1
argParserParameters.h
Go to the documentation of this file.
1 /*
2  * clockUtils
3  * Copyright (2015) Michael Baer, Daniel Bonrath, All rights reserved.
4  *
5  * This file is part of clockUtils; clockUtils is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
25 #ifndef __CLOCKUTILS_ARGPARSER_ARGPARSERPARAMETERS_H__
26 #define __CLOCKUTILS_ARGPARSER_ARGPARSERPARAMETERS_H__
27 
28 #include "clockUtils/Config.h"
30 
31 // Dynamic library import/export macro
32 #ifndef CLOCK_ARGPARSER_API
33  #if CLOCKUTILS_PLATFORM == CLOCKUTILS_PLATFORM_WIN32
34  #ifdef CLOCKUTILS_BUILD_SHARED
35  #ifdef clock_argParser_EXPORTS
36  #define CLOCK_ARGPARSER_API __declspec(dllexport)
37  #else
38  #define CLOCK_ARGPARSER_API __declspec(dllimport)
39  #endif
40  #else
41  #define CLOCK_ARGPARSER_API
42  #endif
43  #elif CLOCKUTILS_PLATFORM == CLOCKUTILS_PLATFORM_LINUX
44  #define CLOCK_ARGPARSER_API
45  #else
46  #define CLOCK_ARGPARSER_API
47  #endif
48 #endif
49 
50 #endif /* __CLOCKUTILS_ARGPARSER_ARGPARSERPARAMETERS_H__ */
51