source: pacpusframework/trunk/include/Pacpus/kernel/FileLibConfig.h@ 62

Last change on this file since 62 was 62, checked in by Marek Kurdej, 12 years ago

Update: license info.

File size: 1.1 KB
Line 
1// This file is part of the PACPUS framework distributed under the
2// CECILL-C License, Version 1.0.
3//
4/// @author Marek Kurdej <firstname.surname@utc.fr>
5/// @date January, 2013
6/// @version $Id$
7/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
8/// @brief DLL import/export macro definitions file.
9///
10/// DLL import/export macro definitions file.
11/// Declares <library name>_API macro as __declspec(dllexport) or __declspec(dllimport)
12/// on Windows system and as an empty macro on other systems.
13/// DLL exporting is performed when <library name>_EXPORTS is defined.
14
15#ifndef DEF_PACPUS_FILELIBCONFIG_H
16#define DEF_PACPUS_FILELIBCONFIG_H
17
18// Export macro for FileLib DLL for Windows only
19#ifdef WIN32
20# ifdef FILELIB_EXPORTS
21 // make DLL
22# define FILELIB_API __declspec(dllexport)
23# else
24 // use DLL
25# define FILELIB_API __declspec(dllimport)
26# endif
27#else
28 // On other platforms, simply ignore this
29# define FILELIB_API
30#endif
31
32#endif // DEF_PACPUS_FILELIBCONFIG_H
Note: See TracBrowser for help on using the repository browser.