Date: Wed, 5 Mar 1997 10:40:04 +0200 (IST) From: Eli Zaretskii To: "Jon A. Cruz" cc: djgpp AT delorie DOT com Subject: Re: [Q] What #defines for cross-platform In-Reply-To: <331C8D16.2FD2@twinsun.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 4 Mar 1997, Jon A. Cruz wrote: > I have been looking at these items: > > * OS > * compiler bugs (Hey, I'm using MS compilers, 'nuff said) > * byte order > * size of types > * 64k pointer limit > * text/binary mode for files Don't forget the syntax of the filenames: '\\' as opposed to '/', and the drive letter. This is by far the most painful issue in programs portable to both Unix and Microsoft OSes. Also, the PATH environment variable uses `:' as the separator on Unix, but `;' on MS-DOS and MS-Windows.