Added a check for -lresolv in configure.in

Removed wxFileInputStream::Peek as it is implemented in wxInputStream::Peek


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-08-18 06:11:07 +00:00
parent def89c21b6
commit eb4642a989
3 changed files with 1 additions and 6 deletions

View File

@@ -1794,6 +1794,7 @@ AC_CHECK_FUNCS(uname gethostname, break)
dnl check for inet_addr, inet_aton, ...
AC_CHECK_FUNCS(inet_addr)
AC_CHECK_FUNCS(inet_aton)
AC_CHECK_LIB(resolv, inet_aton)
dnl ===========================================================================
dnl Now we have all the info we need - use it!

View File

@@ -32,7 +32,6 @@ class wxFileInputStream: public wxInputStream {
wxFileInputStream(int fd);
~wxFileInputStream();
char Peek();
size_t GetSize() const;
bool Ok() const { return m_file->IsOpened(); }

View File

@@ -62,11 +62,6 @@ wxFileInputStream::~wxFileInputStream()
delete m_file;
}
char wxFileInputStream::Peek()
{
return 0;
}
size_t wxFileInputStream::GetSize() const
{
return m_file->Length();