comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcNOSPAM@mckae.com>
Subject: Re: Function/Call in Ada to detect operating system?
Date: Thu, 20 Apr 2006 15:48:46 -0500
Date: 2006-04-20T15:48:46-05:00	[thread overview]
Message-ID: <31a8b$4447f369$45491254$23590@KNOLOGY.NET> (raw)
In-Reply-To: <1145561732.215449.127930@g10g2000cwb.googlegroups.com>

AAFellow@hotmail.com wrote:

> 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;

There was a huge thread on this subject in this group a few months ago, 
here's a link to the root posting (caution, may line wrap):

http://groups.google.com/group/comp.lang.ada/browse_frm/thread/f890526de6a8a218/593e4f90fb944fa4?q=windows+linux+system&rnum=3#593e4f90fb944fa4

-- Marc A. Criley
-- McKae Technologies
-- www.mckae.com
-- DTraq - XPath In Ada - XML EZ Out



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

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