From: Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl (Jerzy Witkowski) Newsgroups: comp.os.msdos.djgpp Subject: Re: libgmp Date: 09 Mar 1997 18:47:28 +0100 Organization: University of Wroclaw Sender: jwi AT swiatowit DOT ii DOT uni DOT wroc DOT pl Message-ID: References: <199703072251 DOT RAA07246 AT delorie DOT com> NNTP-Posting-Host: swiatowit.ii.uni.wroc.pl In-reply-to: DJ Delorie's message of Fri, 7 Mar 1997 22:51:18 GMT Cc: dj AT delorie DOT com Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <199703072251 DOT RAA07246 AT delorie DOT com> DJ Delorie writes: > > Also in file `gmp.h' (after installation) you should edit line > > 167, adding `|| defined (__dj_include_stdio_h_)' at the end. > > This is not a very good idea. Please use this instead, to detect > whether you're using djgpp: > > || defined (__DJGPP__) Here is the mentioned clause from file `gmp.h': #if defined (FILE) || defined (H_STDIO) || defined (_H_STDIO) \ || defined (_STDIO_H) || defined (_STDIO_H_) || defined (__STDIO_H__) \ || defined (_STDIO_INCLUDED) || defined (__dj_include_stdio_h_) #define _GMP_H_HAVE_FILE 1 #endif I just continued the author's idea. :-) -- Jerzy Witkowski o o University of Wroclaw, Institute of Computer Science /| | |/| Przesmyckiego 20, PL-51151 Wroclaw |/| | | room: 11, phone: 0048 71 3247360 /| |/^\| | phone/fax office secretary: 0048 71 3251271 <__|