HP-UX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
14
configure.in
14
configure.in
@@ -1735,14 +1735,16 @@ WX_ALL=
|
||||
WX_ALL_INSTALLED=
|
||||
|
||||
if test "$wxUSE_SHARED" = "yes"; then
|
||||
dnl set target to shared
|
||||
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
|
||||
|
||||
case "${host}" in
|
||||
*-hp-hpux* )
|
||||
if test "$GCC" = yes ; then
|
||||
SHARED_LD="${CC} -shared -o"
|
||||
PIC_FLAG="-fPIC"
|
||||
else
|
||||
SHARED_LD="${CXX} -b -o"
|
||||
PIC_FLAG="+Z"
|
||||
fi
|
||||
WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}.sl"
|
||||
SHARED_LD="${CXX} -b -o"
|
||||
PIC_FLAG="+Z"
|
||||
WX_ALL=${WX_LIBRARY_NAME_SHARED}
|
||||
;;
|
||||
*-*-linux* )
|
||||
@@ -1822,6 +1824,8 @@ if test "$wxUSE_SHARED" = "yes"; then
|
||||
AC_MSG_ERROR(unknown system type ${host}.)
|
||||
esac
|
||||
|
||||
dnl set target to shared
|
||||
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
|
||||
else
|
||||
dnl set target to static
|
||||
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
|
||||
|
@@ -34,12 +34,13 @@ seconds since January 1, 1901, GMT.
|
||||
#include "wx/utils.h"
|
||||
#include "wx/intl.h"
|
||||
|
||||
#include "wx/ioswrap.h"
|
||||
|
||||
#if wxUSE_IOSTREAMH && wxUSE_STD_IOSTREAM
|
||||
#include <iomanip.h>
|
||||
#else
|
||||
#include <iomanip>
|
||||
#if wxUSE_STD_IOSTREAM
|
||||
#include "wx/ioswrap.h"
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <iomanip.h>
|
||||
#else
|
||||
#include <iomanip>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
@@ -20,10 +20,12 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_IOSTREAMH && wxUSE_STD_IOSTREAM
|
||||
# include <fstream.h>
|
||||
#else
|
||||
# include <fstream>
|
||||
#if wxUSE_STD_IOSTREAM
|
||||
#if wxUSE_IOSTREAMH
|
||||
#include <fstream.h>
|
||||
#else
|
||||
#include <fstream>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
|
@@ -476,7 +476,7 @@ void wxPostScriptDC::DoDrawArc (long x1, long y1, long x2, long y2, long xc, lon
|
||||
|
||||
long dx = x1 - xc;
|
||||
long dy = y1 - yc;
|
||||
long radius = (long) sqrt(dx*dx+dy*dy);
|
||||
long radius = (long) sqrt( (double)(dx*dx+dy*dy) );
|
||||
double alpha1, alpha2;
|
||||
|
||||
if (x1 == x2 && y1 == y2)
|
||||
|
@@ -35,7 +35,7 @@
|
||||
/* we have these definitions from configure */
|
||||
#if defined(HAVE_DLOPEN)
|
||||
#define DLDAPI_SVR4_DLFCN
|
||||
#elif define(HAVE_SHL_LOAD)
|
||||
#elif defined(HAVE_SHL_LOAD)
|
||||
#define DLDAPI_HP_SHL
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user