Re: Ver 4.0 ifdef question
- Posted by euphoric (admin) Sep 03, 2008
- 882 views
bernie said...
How does the library know what platform it is running on without the platform() ???
You would have to set a variable, probably... or use platform(), even though it's deprecated. Something like:
integer myOS = UnknownOS ifdef WIN32 then myOS = Win32 else myOS = Linux else myOS = FreeBSD else myOS = MacOSX end if