]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a check for -lresolv in configure.in
authorGuilhem Lavaux <lavaux@easynet.fr>
Wed, 18 Aug 1999 06:11:07 +0000 (06:11 +0000)
committerGuilhem Lavaux <lavaux@easynet.fr>
Wed, 18 Aug 1999 06:11:07 +0000 (06:11 +0000)
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

configure.in
include/wx/wfstream.h
src/common/wfstream.cpp

index d0be0cf4768d31f260e8f5f17bb9c027295bbd1d..361250ba45c4bbc49550d98ad864493adc887ca2 100644 (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!
index efd9317e1f871dda65786ee7de6e57d96571e095..1ab45426e104bef058238ca9411abff38789c92b 100644 (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(); }
index 3bf2a080ba94475c276ecf48a4cc75f26b218427..f9694ca3067bdd514d75f8022caeb8bbbe5e9aaa 100644 (file)
@@ -62,11 +62,6 @@ wxFileInputStream::~wxFileInputStream()
     delete m_file;
 }
 
-char wxFileInputStream::Peek()
-{
-  return 0;
-}
-
 size_t wxFileInputStream::GetSize() const
 {
   return m_file->Length();