Last change
on this file since 320 was 103, checked in by DHERBOMEZ Gérald, 11 years ago |
Correction of link bugs.
Windows build OK.
|
File size:
1.1 KB
|
Line | |
---|
1 | // %pacpus:license{
|
---|
2 | // This file is part of the PACPUS framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %pacpus:license}
|
---|
5 | /// @file
|
---|
6 | /// @author Gerald Dherbomez <firstname.surname@utc.fr>
|
---|
7 | /// @date June, 2013
|
---|
8 | /// @version $Id:$
|
---|
9 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
10 | /// @brief DLL import/export macro definitions file.
|
---|
11 | ///
|
---|
12 | /// DLL import/export macro definitions file.
|
---|
13 | /// Declares \<library name\>_API macro as __declspec(dllexport) or __declspec(dllimport)
|
---|
14 | /// on Windows system and as an empty macro on other systems.
|
---|
15 | /// DLL exporting is performed when \<library name\>_EXPORTS is defined.
|
---|
16 |
|
---|
17 | #ifndef __PACPUSTOOLSCONFIG_H__
|
---|
18 | #define __PACPUSTOOLSCONFIG_H__
|
---|
19 |
|
---|
20 | // Export macro for FileLib DLL for Windows only
|
---|
21 | #ifdef WIN32
|
---|
22 | # ifdef PACPUSTOOLS_EXPORTS
|
---|
23 | // make DLL
|
---|
24 | # define PACPUSTOOLS_API __declspec(dllexport)
|
---|
25 | # else
|
---|
26 | // use DLL
|
---|
27 | # define PACPUSTOOLS_API __declspec(dllimport)
|
---|
28 | # endif
|
---|
29 | #else
|
---|
30 | // On other platforms, simply ignore this
|
---|
31 | # define PACPUSTOOLS_API
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #endif // __PACPUSTOOLSCONFIG_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.