source: pacpusframework/branches/2.0-beta1/include/Pacpus/PacpusTools/PacpusToolsConfig.h@ 135

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

Update: added dll export/import macros for PacpusTools.

File size: 891 bytes
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 Marek Kurdej <marek.kurdej@utc.fr>
7/// @date 21 June, 2013
8/// @version $Id$
9/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
10/// @brief Configuration file for PacpusTools library.
11///
12/// @todo Detailed description.
13
14#ifndef DEF_PACPUS_PACPUSTOOLSCONFIG_H
15#define DEF_PACPUS_PACPUSTOOLSCONFIG_H
16
17// Export macro for DbitePlayer DLL for Windows only
18#ifdef WIN32
19# ifdef PACPUS_TOOLS_EXPORTS
20 // make DLL
21# define PACPUS_TOOLS_API __declspec(dllexport)
22# else
23 // use DLL
24# define PACPUS_TOOLS_API __declspec(dllimport)
25# endif
26#else
27 // On other platforms, simply ignore this
28# define PACPUS_TOOLS_API
29#endif
30
31#endif // DEF_PACPUS_PACPUSTOOLSCONFIG_H
Note: See TracBrowser for help on using the repository browser.