Changeset 32971 in vbox for trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_unixos.h
- Timestamp:
- Oct 7, 2010 10:15:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_unixos.h
r1 r32971 173 173 174 174 #if defined(DEBUG) && !defined(DARWIN) && !defined(NEXTSTEP) 175 #if !defined(SOLARIS) 175 #if !defined(SOLARIS) 176 176 #include <string.h> /* for memset() */ 177 177 #define _MD_INIT_STACK(ts,REDZONE) \ … … 218 218 #endif /* DEBUG */ 219 219 220 #if !defined(SOLARIS) 220 #if !defined(SOLARIS) 221 221 222 222 #define PR_SET_INTSOFF(newval) … … 246 246 ); 247 247 248 #ifdef VBOX 249 /* Create a new detached process (fork() + exec()) */ 250 #define _MD_CREATE_PROCESS_DETACHED _MD_CreateUnixProcessDetached 251 extern PRStatus _MD_CreateUnixProcessDetached( 252 const char *path, 253 char *const *argv, 254 char *const *envp, 255 const struct PRProcessAttr *attr 256 ); 257 #endif /* VBOX */ 258 248 259 #define _MD_DETACH_PROCESS _MD_DetachUnixProcess 249 260 extern PRStatus _MD_DetachUnixProcess(struct PRProcess *process); … … 297 308 298 309 extern void _MD_MakeNonblock(PRFileDesc *fd); 299 #define _MD_MAKE_NONBLOCK _MD_MakeNonblock 310 #define _MD_MAKE_NONBLOCK _MD_MakeNonblock 300 311 301 312 /************************************************************************/ … … 401 412 #define _MD_SHUTDOWN _MD_shutdown 402 413 403 extern PRInt32 _MD_recv(PRFileDesc *fd, void *buf, PRInt32 amount, 414 extern PRInt32 _MD_recv(PRFileDesc *fd, void *buf, PRInt32 amount, 404 415 PRIntn flags, PRIntervalTime timeout); 405 416 #define _MD_RECV _MD_recv
Note:
See TracChangeset
for help on using the changeset viewer.