fixed solaris gethostname() prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cf1d22d685
commit
a832f63206
@ -42,7 +42,7 @@
|
||||
#ifdef __SUN__
|
||||
# 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);
|
||||
extern "C" { int gethostname(char *name, size_t len); }
|
||||
#else
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
#endif
|
||||
|
@ -42,7 +42,7 @@
|
||||
#ifdef __SUN__
|
||||
# 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);
|
||||
extern "C" { int gethostname(char *name, size_t len); }
|
||||
#else
|
||||
# define DEFAULT_XRESOURCE_DIR wxT("/usr/lib/X11/app-defaults")
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user