mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
define _Pragma for windows
This commit is contained in:
parent
ff72e25a34
commit
441da98063
1 changed files with 4 additions and 0 deletions
|
@ -311,6 +311,10 @@ 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
|
||||
|
|
Loading…
Reference in a new issue