Recently, I've made some non-trivial programs based on some Cocoa
programming books and found some
concrete incompatiblilities between GNUstep and Cocoa. When I come
across such an incompatibility,
I'm always at a loss because GNUstep doesn't provide any preprocessor
macro which can be used just for
differentiating GNUstep code and Cocoa one. I feel both STRICT_OPENSTEP
and NO_GNUSTEP or their
negations are not appropriate for that purpose.
Is there already any macro, or an established idiom (i.e. GNUstep
conventions) for the purpose?
If not, I think it would be better for us to have a certain macro
predefined in GSConfig.h,
say __GNUSTEP_LIBRARY__, to distinguish GNUstep's headers from those of
Cocoa.