diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-28 01:17:44 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-28 01:17:44 +0200 |
commit | 88a9f72d177076566899884e5a2230ae25a1911f (patch) | |
tree | 3b56ef20553dc88f1b0fa419a7bd7a36c874f7e9 /src/common/util.h | |
parent | 1fa63a74016444efc1cc68bca26eb011865348d8 (diff) | |
parent | 96caff1fbdf201164339e5e94fde04d8cb7968e8 (diff) |
Merge with default
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index fce45def..92d2a843 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -43,6 +43,12 @@ int strip_color2 (const char *src, int len, char *dst, int flags); int strip_hidden_attribute (char *src, char *dst); char *errorstring (int err); int waitline (int sok, char *buf, int bufsize, int); +#ifdef WIN32 +int waitline2 (GIOChannel *source, char *buf, int bufsize); +int get_cpu_arch (void); +#else +#define waitline2(source,buf,size) waitline(serv->childread,buf,size,0) +#endif unsigned long make_ping_time (void); void move_file_utf8 (char *src_dir, char *dst_dir, char *fname, int dccpermissions); int mkdir_utf8 (char *dir); |