wrong detection of inUnix ?? [Re: [fpc-devel] fcl-WEB build broken]

Tomas Hajny XHajT03 at hajny.biz
Sat Jun 11 12:59:52 CEST 2011


On Sat, June 11, 2011 12:53, Florian Klämpfl wrote:
> Am 10.06.2011 23:31, schrieb Jonas Maebe:
>>> btw: isn't ";" a valid char in a unix pathname?
>>
>> Yes, but it's quite rare. It's simply the best way we have found to
>> detect Unix environments via the Makefile. A better way is always
>> welcome.
>
> Today all windowes should have set the environment variable WINDIR.

The current test isn't about Windows but DOS-like versus Unix-like. My
OS/2 surely doesn't use windir. ;-)

Tomas





More information about the fpc-devel mailing list