Re: Fix for 686984, ghostscript doesn't build with the Intel C/C++ compiler on x86 or ia64
"Igor V. Melichev" <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
The comment below the changed line becomes obsolete. It should list the Intel compiler. Please commit updating the comment. Igor. ----- Original Message ----- From: "Alex Cherepanov" <[email protected]> To: "gs-code-review" <[email protected]>; "Igor V. Melichev" <[email protected]> Sent: Thursday, August 14, 2003 1:33 AM Subject: Fix for 686984, ghostscript doesn't build with the Intel C/C++ compiler on x86 or ia64 > Include time.h and sys/time.h on Intel compiler as requested by Duraid > Madina. > Fix bug 686984 > > > ---------------------------------------------------------------------------- ---- > Index: gs/src/time_.h > =================================================================== > RCS file: /cvs/ghostscript/gs/src/time_.h,v > retrieving revision 1.6 > diff -b -u -r1.6 time_.h > --- gs/src/time_.h 26 Nov 2002 14:38:43 -0000 1.6 > +++ gs/src/time_.h 13 Aug 2003 21:12:58 -0000 > @@ -36,7 +36,7 @@ > */ > #ifdef HAVE_SYS_TIME_H > # include <sys/time.h> > -# if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) || defined(__GNUC__) > +# if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) || defined(__GNUC__) || defined(__INTEL_COMPILER) > /* Plan 9, SCO, AIX and Sequent's DYNIX/ptx need both time.h and > sys/time.h! As of version 2.2, at least some glibc > installations also require both files. */ >