From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f890526de6a8a218,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.socal.rr.com.POSTED!53ab2750!not-for-mail From: "Roger Blum" Newsgroups: comp.lang.ada Subject: How to detect OS type and version? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: Date: Thu, 13 Oct 2005 02:35:13 GMT NNTP-Posting-Host: 66.8.128.162 X-Complaints-To: abuse@rr.com X-Trace: tornado.socal.rr.com 1129170913 66.8.128.162 (Wed, 12 Oct 2005 19:35:13 PDT) NNTP-Posting-Date: Wed, 12 Oct 2005 19:35:13 PDT Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news1.google.com comp.lang.ada:5578 Date: 2005-10-13T02:35:13+00:00 List-Id: Is there a way within Ada (GNAT 3.15p) to tell whether the application is running on Linux or Windows (and the version of the OS)? Regards, Roger