comp.lang.ada
 help / color / mirror / Atom feed
From: "AAFellow@hotmail.com" <AAFellow@hotmail.com>
Subject: Function/Call in Ada to detect operating system?
Date: 20 Apr 2006 12:35:32 -0700
Date: 2006-04-20T12:35:32-07:00	[thread overview]
Message-ID: <1145561732.215449.127930@g10g2000cwb.googlegroups.com> (raw)

Hey guys,

Is there a way to detect what operating system the code is running on?
I'm writing my code to work on both windows and linux, and there are
some parts where I would like to do something like this:

If(Windows)
     *Do something this way;
else if (Linux)
     *Do something a slightly different way;


thanks guys!!




             reply	other threads:[~2006-04-20 19:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 19:35 AAFellow [this message]
2006-04-20 20:48 ` Function/Call in Ada to detect operating system? Marc A. Criley
2006-04-20 21:40 ` AAFellow
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox