Is there any appropriate preprocessor symbol that I can use to tell
if I'm compiling for gtk+ theme ui?

Right now, the theme-ui does things like:

#ifdef WIN32
win32 stuff
#else
gtk+ stuff
#endif

and to add the beos port of theme-ui, I'm doing something like

#ifdef WIN32
win32 stuff
#else
#ifdef __BEOS__
beos stuff
#else
gtk stuff
#endif
#endif

it looks silly, don't you think?

--
Hiromasa Kato
[EMAIL PROTECTED]

Reply via email to