mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
29 lines
477 B
C
29 lines
477 B
C
/**
|
|
@file
|
|
@author Stefan Frings
|
|
*/
|
|
|
|
#ifndef TEMPLATEGLOBAL_H
|
|
#define TEMPLATEGLOBAL_H
|
|
|
|
#include <QtGlobal>
|
|
|
|
// This is specific to Windows dll's
|
|
#if defined(Q_OS_WIN)
|
|
#if defined(QTWEBAPPLIB_EXPORT)
|
|
#define DECLSPEC Q_DECL_EXPORT
|
|
#elif defined(QTWEBAPPLIB_IMPORT)
|
|
#define DECLSPEC Q_DECL_IMPORT
|
|
#endif
|
|
#endif
|
|
#if !defined(DECLSPEC)
|
|
#define DECLSPEC
|
|
#endif
|
|
|
|
#if __cplusplus < 201103L
|
|
#define nullptr 0
|
|
#endif
|
|
|
|
#endif // TEMPLATEGLOBAL_H
|
|
|