On Sat, 23 Jan 1999 22:15:55 +0100, Frank Heckenbach wrote:
- __OS_DOS__ is defined in Pascal on Dos like systems (including
EMX). It is defined automatically and should not (need to) be defined by the user. It's used in Pascal parts of the RTS (rts/filename.pas [1], e.g. for directory and path separators), in some standard units (DosUnix and Printer) and is available to user programs (I need it for a few things in my own programs).
Okay this is more what I was concerned about (GPC's behavior with __OS_DOS__ defined) and once I get the system working I'll investigate its effects, my only real issue is that OS/2 can use either / or \ as a directory separator internally and I don't know if that will mess up some routines. In fact you can even mix separators within a path. A quick look at the source doesn't show any problems as most of the routines in filename.pas are looking at DirSeparators rather than DirSeparator and the ones using DirSeparator are mostly 'fixing' paths for the OS -- if I read them correctly.
-Kevin
-- Kevin A. Foss --- kfoss@mint.net