From: Marcus Eggenberger Date: Mon, 24 Aug 2009 21:36:00 +0000 (+0200) Subject: oopsie... there were some macros missing on windows... X-Git-Tag: 0.5-rc1~31 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=87bf901ae6387bc58e670a3adf88ffd7d465a281;hp=39eb2fda3eaef2de78a8134556015ff86e9b85d4 oopsie... there were some macros missing on windows... --- diff --git a/src/common/syncableobject.h b/src/common/syncableobject.h index 01fb3953..611ef847 100644 --- a/src/common/syncableobject.h +++ b/src/common/syncableobject.h @@ -100,11 +100,12 @@ private: # define REQUEST(...) sync_call__(SignalProxy::Client, (__FUNCTION__ + _classNameOffset__) , __VA_ARGS__); #else # define SYNC(...) sync_call__(SignalProxy::Server, __func__, __VA_ARGS__); -# define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__); # define REQUEST(...) sync_call__(SignalProxy::Client, __func__, __VA_ARGS__); -# define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__); #endif //Q_WS_WIN +#define SYNC_OTHER(x, ...) sync_call__(SignalProxy::Server, #x, __VA_ARGS__); +#define REQUEST_OTHER(x, ...) sync_call__(SignalProxy::Client, #x, __VA_ARGS__); + #define ARG(x) const_cast(reinterpret_cast(&x)) #define NO_ARG 0