move cpu arch stuff to separate function

This commit is contained in:
berkeviktor@aol.com
2011-05-30 21:15:39 +02:00
parent bfb6120116
commit b85f311ddd
3 changed files with 20 additions and 14 deletions

View File

@@ -45,6 +45,7 @@ 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