Am Montag, 20. Juni 2011, 19:51:18 schrieb Iain Hibbert:
> I actually disklike this method, for the reason that it breaks when the OS
> changes even though the feature remains (eg _WIN64 will fail to work in
> your example :) better to rely just on the feature itself, though it could
> be better expressed the other way around for safety

_WIN32 is also defined on Windows 64bit for all relevant compilers.
And __FreeBSD__ or __FreeBSD better be defined on FreeBSD because that what 
cmake uses to "see" that you compile for FreeBSD, at least gcc and llvm.
Also checking the system identifier is safer.

HS

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to