Statistics
| Branch: | Revision:

root / src / common / commondefs.h @ 81ad8b66

History | View | Annotate | Download (889 Bytes)

1 01873262 Georg Kunz
//=========================================================================
2
//  COMMONDEFS.H - part of
3
//                  OMNeT++/OMNEST
4
//           Discrete System Simulation in C++
5
//
6
//  Author: Andras Varga
7
//
8
//=========================================================================
9
10
/*--------------------------------------------------------------*
11
  Copyright (C) 2006-2008 OpenSim Ltd.
12

13
  This file is distributed WITHOUT ANY WARRANTY. See the file
14
  `license' for details on this and other legal matters.
15
*--------------------------------------------------------------*/
16
17
#ifndef _COMMONDEFS_H_
18
#define _COMMONDEFS_H_
19
20
#include "platdefs.h"
21
22
NAMESPACE_BEGIN
23
24
#if defined(COMMON_EXPORT)
25
#  define COMMON_API OPP_DLLEXPORT
26
#elif defined(COMMON_IMPORT) || defined(OMNETPPLIBS_IMPORT)
27
#  define COMMON_API OPP_DLLIMPORT
28
#else
29
#  define COMMON_API
30
#endif
31
32
NAMESPACE_END
33
34
35
#endif
36