aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-03-16 17:59:00 +0100
committerPatrik Nyblom <[email protected]>2012-04-17 16:12:54 +0200
commit3985e56bfa82083b23978e06809b8ab0cf9d52d8 (patch)
tree629673d880c219f43d5ec8739cfb512eee9b6276 /erts/emulator/beam/global.h
parente2277e240790930563b0833854e7bc6a8338cf5c (diff)
downloadotp-3985e56bfa82083b23978e06809b8ab0cf9d52d8.tar.gz
otp-3985e56bfa82083b23978e06809b8ab0cf9d52d8.tar.bz2
otp-3985e56bfa82083b23978e06809b8ab0cf9d52d8.zip
Make port_info(Port,os_pid) work on Windows
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-x[-rw-r--r--]erts/emulator/beam/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 9f99afd641..894872dbc0 100644..100755
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -173,7 +173,7 @@ struct port {
char *name; /* String used in the open */
erts_driver_t* drv_ptr;
UWord drv_data;
- pid_t os_pid; /* Child process ID */
+ SWord os_pid; /* Child process ID */
ErtsProcList *suspended; /* List of suspended processes. */
LineBuf *linebuf; /* Buffer to hold data not ready for
process to get (line oriented I/O)*/