Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate getpid() on MinGW #3807

Closed
vicuna opened this issue Oct 10, 2005 · 1 comment
Closed

Activate getpid() on MinGW #3807

vicuna opened this issue Oct 10, 2005 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Oct 10, 2005

Original bug ID: 3807
Reporter: administrator
Status: closed
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: spiralvoice
Version: 3.08.4
OS: MinGW
Submission from: p5481c8bc.dip.t-dialin.net (84.129.200.188)

--- ./ocaml-3.08.4/otherlibs/win32unix/getpid.c 2001-12-07
14:40:44.000000000 +0100
+++ ./ocaml-3.08.4/otherlibs/win32unix/getpid.c 2005-10-10
10:36:13.000000000 +0200
@@ -16,9 +16,7 @@
#include <mlvalues.h>
#include "unixsupport.h"

-extern value val_process_id;

CAMLprim value unix_getpid(value unit)
{

  • return val_process_id;
  • return Val_int(getpid());
    }
@vicuna
Copy link
Author

vicuna commented Oct 12, 2005

Comment author: administrator

There is no getpid() function in Microsoft's C library, which is what Mingw
uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant