some fixes for AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -172,10 +172,12 @@ install::
|
||||
@cd $(WXBASEDIR)/src ; \
|
||||
rm -f $(libdir)/$(STATIC_LIBRARY) ; \
|
||||
$(INSTALL_DATA) $(WXBASEDIR)/lib/$(OS)/$(STATIC_LIBRARY) $(libdir)/$(STATIC_LIBRARY)
|
||||
$(STRIP) $(libdir)/$(STATIC_LIBRARY)
|
||||
@if test -f $(WXBASEDIR)/lib/$(OS)/$(SHARED_LIBRARY) ; then \
|
||||
echo " Copying shared library" ; \
|
||||
rm -f $(libdir)/lib$(LIB_TARGET).so* ; \
|
||||
$(INSTALL_PROGRAM) $(WXBASEDIR)/lib/$(OS)/$(SHARED_LIBRARY) $(libdir)/$(SHARED_LIBRARY) ; \
|
||||
$(STRIP) $(libdir)/$(SHARED_LIBRARY)
|
||||
$(LN_S) $(SHARED_LIBRARY) $(libdir)/lib$(LIB_TARGET).so.$(LIB_MAJOR) ; \
|
||||
$(LN_S) $(SHARED_LIBRARY) $(libdir)/lib$(LIB_TARGET).so ; \
|
||||
echo " " ; \
|
||||
|
@@ -544,9 +544,11 @@ void wxSocketBase::Discard()
|
||||
// switch lines below.
|
||||
|
||||
#if wxHAVE_GLIBC2
|
||||
# define wxSOCKET_INT socklen_t
|
||||
# typedef socklen_t wxSOCKET_INT;
|
||||
#elif defined(__AIX__)
|
||||
# typedef size_t wxSOCKET_INT;
|
||||
#else
|
||||
# define wxSOCKET_INT int
|
||||
# typedef int wxSOCKET_INT;
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user