Hi,
I search for a simple way to know under which OS i'm running? Because
some specific code should be executed under given OS. Well, this could
be compiler directives right now. The problem is simple:
- does the current os support drive letters (I made a hak for this)
- what directory structure I should adopt? (this one is a complete
different logic set)
example: c:\app\images or /usr/local/images should be used?
A compiler directive would be enought for now since the app must
obiviously be compiled for linux or windows. But what are these
compiler directives I can test to know for which target the compiler
is actually compiling?
Or, is there a unit I did not see where I can call a function to know
the information about the OS.
Best regards.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives