paysages3d/src/system/system_global.h

34 lines
693 B
C
Raw Normal View History

2013-10-20 12:34:55 +00:00
#ifndef SYSTEM_GLOBAL_H
#define SYSTEM_GLOBAL_H
/* Shared object helpers */
#ifdef __cplusplus
# include <QtCore/qglobal.h>
2013-10-20 12:34:55 +00:00
#else
# if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
# define Q_DECL_EXPORT __declspec(dllexport)
# define Q_DECL_IMPORT __declspec(dllimport)
# else
# define Q_DECL_EXPORT
# define Q_DECL_IMPORT
# endif
2013-10-20 12:34:55 +00:00
#endif
#if defined(SYSTEM_LIBRARY)
# define SYSTEMSHARED_EXPORT Q_DECL_EXPORT
#else
# define SYSTEMSHARED_EXPORT Q_DECL_IMPORT
#endif
2013-10-20 12:34:55 +00:00
/* Namespace using */
#ifdef __cplusplus
2013-10-20 12:34:55 +00:00
namespace paysages
{
namespace system {}
}
using namespace paysages::system;
#endif
/* Global imports */
2013-10-20 12:34:55 +00:00
#endif // SYSTEM_GLOBAL_H