added gethostname protoype for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d30ab05b0d
commit
6ed6d1239a
@ -40,9 +40,11 @@
|
||||
// Yuck this is really BOTH site and platform dependent
|
||||
// so we should use some other strategy!
|
||||
#ifdef __SUN__
|
||||
#define DEFAULT_XRESOURCE_DIR wxT("/usr/openwin/lib/app-defaults")
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/openwin/lib/app-defaults")
|
||||
// prototype missing in header files on Solaris 2.5
|
||||
extern int gethostname(char *name, size_t len);
|
||||
#else
|
||||
#define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -40,9 +40,11 @@
|
||||
// Yuck this is really BOTH site and platform dependent
|
||||
// so we should use some other strategy!
|
||||
#ifdef __SUN__
|
||||
#define DEFAULT_XRESOURCE_DIR wxT("/usr/openwin/lib/app-defaults")
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/openwin/lib/app-defaults")
|
||||
// prototype missing in header files on Solaris 2.5
|
||||
extern int gethostname(char *name, size_t len);
|
||||
#else
|
||||
#define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user