]> code.delx.au - gnu-emacs/blobdiff - lib-src/ntlib.c
2002-08-04 Andrew Choi <akochoi@shaw.ca>
[gnu-emacs] / lib-src / ntlib.c
index 678d969c04f10b6327754112326db51325560a06..3e2caf508656a43c1991914552610486d2181017 100644 (file)
@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA.
    would necessitate including windows.h in the files that used it.
    This is much easier.  */
 void
-sleep(int seconds)
+sleep(unsigned long seconds)
 {
   Sleep (seconds * 1000);
 }
@@ -58,7 +58,7 @@ getppid(void)
   char *ppid;
   DWORD result;
 
-  ppid = getenv ("__PARENT_PROCESS_ID");
+  ppid = getenv ("EM_PARENT_PROCESS_ID");
   if (!ppid) 
     {
       printf("no pid.\n");