comparison liboctave/lo-sysdep.h @ 10266:82db36545def

use gnulib gethostname module
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2010 04:43:08 -0500
parents 4c0cdbe0acca
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
10265:8c583af2cf64 10266:82db36545def
30 30
31 extern std::string octave_getcwd (void); 31 extern std::string octave_getcwd (void);
32 32
33 extern int octave_chdir (const std::string&); 33 extern int octave_chdir (const std::string&);
34 34
35 #if ! defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H)
36 extern int gethostname (char *, int);
37 #endif
38
39 #if defined (__WIN32__) && ! defined (__CYGWIN__) 35 #if defined (__WIN32__) && ! defined (__CYGWIN__)
40 extern pid_t octave_popen2 (const std::string&, const string_vector&, 36 extern pid_t octave_popen2 (const std::string&, const string_vector&,
41 bool, int *, std::string&); 37 bool, int *, std::string&);
42 #endif 38 #endif
43 39