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

Last change on this file since 66 was 66, checked in by Marek Kurdej, 11 years ago

Documentation: file info.

  • Property svn:keywords set to Id
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/// @file
5/// @author Marek Kurdej <firstname.surname@utc.fr>
6/// @date January, 2013
7/// @version $Id: FileLibConfig.h 66 2013-01-09 16:54:11Z kurdejma $
8/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
9/// @brief DLL import/export macro definitions file.
10///
11/// DLL import/export macro definitions file.
12/// Declares <library name>_API macro as __declspec(dllexport) or __declspec(dllimport)
13/// on Windows system and as an empty macro on other systems.
14/// DLL exporting is performed when <library name>_EXPORTS is defined.
15
16#ifndef DEF_PACPUS_FILELIBCONFIG_H
17#define DEF_PACPUS_FILELIBCONFIG_H
18
19// Export macro for FileLib DLL for Windows only
20#ifdef WIN32
21# ifdef FILELIB_EXPORTS
22 // make DLL
23# define FILELIB_API __declspec(dllexport)
24# else
25 // use DLL
26# define FILELIB_API __declspec(dllimport)
27# endif
28#else
29 // On other platforms, simply ignore this
30# define FILELIB_API
31#endif
32
33#endif // DEF_PACPUS_FILELIBCONFIG_H
Note: See TracBrowser for help on using the repository browser.