mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 14:46:55 +02:00
Cleaned up the preprocessor definitions.
This commit is contained in:
parent
b21247ca67
commit
95410d2b66
1 changed files with 0 additions and 5 deletions
|
@ -502,13 +502,8 @@ public:
|
|||
#define REGISTER_SIMPLE_TYPE_STREAMER(x) static int x##Streamer = \
|
||||
Bitstream::registerTypeStreamer(QMetaType::type(#x), new SimpleTypeStreamer<x>());
|
||||
|
||||
#ifdef WIN32
|
||||
#define _Pragma __pragma
|
||||
#endif
|
||||
|
||||
/// Declares the metatype and the streaming operators. The last lines
|
||||
/// ensure that the generated file will be included in the link phase.
|
||||
#define STRINGIFY(x) #x
|
||||
#ifdef _WIN32
|
||||
#define DECLARE_STREAMABLE_METATYPE(X) Q_DECLARE_METATYPE(X) \
|
||||
Bitstream& operator<<(Bitstream& out, const X& obj); \
|
||||
|
|
Loading…
Reference in a new issue