X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Ed Collins" Newsgroups: comp.os.msdos.djgpp Subject: preprocesser directives Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Fri, 25 Jan 2002 03:22:51 GMT NNTP-Posting-Host: 24.129.40.71 X-Complaints-To: abuse AT mediaone DOT net X-Trace: typhoon.jacksonville.mediaone.net 1011928971 24.129.40.71 (Thu, 24 Jan 2002 22:22:51 EST) NNTP-Posting-Date: Thu, 24 Jan 2002 22:22:51 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, there I'm in college writing programs for computer science classes, and the instructors require the programs to run on the school's UNIX computer. We write the code on a PC, upload it, compile it and run the executable. We then send the results, source code, .exe code and a write up to the professor. My question is, Does anyone know of any preprocessor directives I can write in a computer program to distinquish between DOS and UNIX? I would certainly appreciate anyone's suggestions. ed.