Hi,
I think you are complicating things a little. I believe what you try
to achieve is easily doable with the Idle event in a cross platform
fashion.
For this you only need wxWidgets.
See:
http://docs.wxwidgets.org/stable/wx_wxidleevent.html
I hope you'll make the right choice.
If you still want to use some macros to distinguish between platforms
I guess you could use the _Windows/_WIN32 macro. See compiler
documentation for more details about defined macros.
Good luck,
Iulian
PS: It is better to say what you try to achieve rather than going to
deep into low-level details. Usually there is a simpler solution...