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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: [ANN] List_Image v0.2.0 Date: Thu, 01 Feb 2018 21:08:21 +0000 Organization: A noiseless patient Spider Message-ID: References: <575826a1-c983-49aa-95e2-54048f6b7b5b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="fde209702767e7bd2d072a31cc9991c3"; logging-data="24370"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18csraU9fazED4K8K6vCGLS6ITp79IHzYQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:7Mnv3vECtd1m+als+Duf5IZXstk= sha1:ci0GUBFc7jBVlRpUb2dPAM3vKf8= Xref: reader02.eternal-september.org comp.lang.ada:50265 Date: 2018-02-01T21:08:21+00:00 List-Id: "J-P. Rosen" writes: > Le 01/02/2018 à 16:48, Lionel Draghi a écrit : >> My (maybe naïve) view is that we are getting in complex discussions > and weird code patterns to solve a pretty simple problem. > > You can check the environment variable OS; apparently, it's defined in > Linux as well as in Windows. And if it's not defined, assume Windows... Might be better to assume macOS! since it's _not_ defined there.