소스 검색

d.mon: kill not available on windows - todo

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47144 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 년 전
부모
커밋
6f1a554980
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      display/d.mon/stop.c

+ 4 - 0
display/d.mon/stop.c

@@ -55,9 +55,13 @@ int stop_wx(const char *name)
 	G_fatal_error(_("PID file not found"));
     }
     
+#ifdef __MINGW32__
+    /* TODO */
+#else
     if (kill((pid_t) atoi(pid), SIGTERM) != 0) {
 	/* G_fatal_error(_("Unable to stop monitor <%s>"), name); */
     }
+#endif
     
     clean_env(name);