[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix compilation warning on Solaris 2.5.1
From: |
Eric Botcazou |
Subject: |
Re: [PATCH] Fix compilation warning on Solaris 2.5.1 |
Date: |
Mon, 30 Jun 2003 09:22:18 +0200 |
User-agent: |
KMail/1.4.3 |
Of course, I meant:
#if defined _LIBC_REENTRANT || defined HAVE_FGETS_UNLOCKED
#if !HAVE_DECL_FGETS_UNLOCKED
extern char *fgets_unlocked(blah);
#endif
# undef fgets
# define fgets(buf, len, s) fgets_unlocked (buf, len, s)
#endif
#if defined _LIBC_REENTRANT || defined HAVE_FEOF_UNLOCKED
#if !HAVE_DECL_FEOF_UNLOCKED
extern int feof_unlocked(blah);
#endif
# undef feof
# define feof(s) feof_unlocked (s)
#endif
--
Eric Botcazou