From 47054ed6408c16204e1353a28459b0258a343e8b Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 26 Feb 2010 22:32:33 +0000 Subject: [PATCH] Fixed inverted condition: Linux have strtold, not windows (and cygwin). [r27227] --- ir/tv/fltcalc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/tv/fltcalc.c b/ir/tv/fltcalc.c index 4480a269f..2a8687550 100644 --- a/ir/tv/fltcalc.c +++ b/ir/tv/fltcalc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2010 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -43,7 +43,7 @@ #include "xmalloc.h" -#if defined(HAVE_LONG_DOUBLE) && !defined(__CYGWIN__) +#if !defined(HAVE_LONG_DOUBLE) || defined(__CYGWIN__) /* No strtold on windows and no replacement yet */ #define strtold(s, e) strtod(s, e) #endif -- 2.20.1