Generify source code
Previously we would fail in some parts of the code if we did not have a premade configuration, now we use any code that was marked as Linux, BSD and Solaris as our basis in order to support building unknown Unix systems.
This commit is contained in:
@@ -163,12 +163,7 @@ WriteBdfHeader( struct ptobhead *head )
|
||||
char buf[BUFSIZE], *p;
|
||||
|
||||
pid_t chld_pid = 0;
|
||||
#if defined( SVR4 ) || defined( SYSV ) || defined(CSRG_BASED) || defined(__linux__)
|
||||
int chld_stat ;
|
||||
#else
|
||||
union wait chld_stat ;
|
||||
#endif
|
||||
|
||||
|
||||
if (head->snf_file != NULL) {
|
||||
if (pipe(fd) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user