From: panne Date: Wed, 20 Aug 2003 15:54:45 +0000 (+0000) Subject: [project @ 2003-08-20 15:54:45 by panne] X-Git-Tag: nhc98-1-18-release~534 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0a08fda071163671792fe2cfffa1a65820502798;hp=5699b7d4aefa303fd560fad2ae583f5fde676c65;p=ghc-base.git [project @ 2003-08-20 15:54:45 by panne] Nuked FPTOOLS_O_BINARY test and use FP_CHECK_CONST instead, which is shorter and better (e.g. cross compilation). --- diff --git a/include/HsBase.h b/include/HsBase.h index 51f2e60..e5be148 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: HsBase.h,v 1.23 2003/08/19 16:39:14 simonmar Exp $ + * $Id: HsBase.h,v 1.24 2003/08/20 15:54:45 panne Exp $ * * (c) The University of Glasgow 2001-2002 * @@ -259,11 +259,7 @@ __hscore_seek_cur() INLINE HsInt __hscore_o_binary() { -#ifdef HAVE_O_BINARY - return O_BINARY; -#else - return 0; -#endif + return CONST_O_BINARY; } INLINE int