]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Do not pass proc name to Executer in FreeBSD
[stg.git] / projects / stargazer / main.cpp
index a8678893c4d7935e1c84e66aa3240812e1e700d9..3a9877155f2f9f373b80451738395791888e2be4 100644 (file)
@@ -140,12 +140,20 @@ switch (executerPid)
 
     case 0:
         delete settings;
+#ifdef LINUX
         Executer(*msgID, executerPid, procName);
+#else
+        Executer(*msgID, executerPid);
+#endif
         return 1;
 
     default:
         if (executersPid.empty()) {
+#ifdef LINUX
             Executer(*msgID, executerPid, NULL);
+#else
+            Executer(*msgID, executerPid);
+#endif
         }
         executersPid.insert(executerPid);
     }