nedxmldefs.h Source File

NEDXML API: nedxmldefs.h Source File
NEDXML API
nedxmldefs.h
1//==========================================================================
2// NEDXMLDEFS.H - part of
3// OMNeT++/OMNEST
4// Discrete System Simulation in C++
5//
6// General defines for the Envir library
7//
8//==========================================================================
9
10/*--------------------------------------------------------------*
11 Copyright (C) 1992-2017 Andras Varga
12 Copyright (C) 2006-2017 OpenSim Ltd.
13
14 This file is distributed WITHOUT ANY WARRANTY. See the file
15 `license' for details on this and other legal matters.
16*--------------------------------------------------------------*/
17
18#ifndef __OMNETPP_NEDXML_NEDXMLDEFS_H
19#define __OMNETPP_NEDXML_NEDXMLDEFS_H
20
21#include "omnetpp/platdep/platdefs.h"
22
23namespace omnetpp {
24namespace nedxml {
25
26#if defined(NEDXML_EXPORT)
27# define NEDXML_API OPP_DLLEXPORT
28#elif defined(NEDXML_IMPORT) || defined(OMNETPPLIBS_IMPORT)
29# define NEDXML_API OPP_DLLIMPORT
30#else
31# define NEDXML_API
32#endif
33
34} // namespace nedxml
35} // namespace omnetpp
36
37
38#endif
39
40