]> git.mxchange.org Git - flightgear.git/commitdiff
FreeBSD tweak.
authorcurt <curt>
Tue, 29 Jun 1999 15:28:03 +0000 (15:28 +0000)
committercurt <curt>
Tue, 29 Jun 1999 15:28:03 +0000 (15:28 +0000)
Tools/Construct/Parallel/client.cxx

index c52e890f4354bd982deeba8d8a7ac49634384f03..9115b91e54b72ba6e420981d2f25c45bac75f3e7 100644 (file)
@@ -45,6 +45,7 @@ void check_master_switch() {
 
 // check if the host system is free of interactive users
 int system_free() {
+#ifndef __FreeBSD__
     struct utmp *uptr;
 
     setutent();
@@ -61,6 +62,10 @@ int system_free() {
     }
 
     endutent();
+#else
+#  warning Port me
+#endif
+
     return 1;
 }