Kaydet (Commit) d84142a4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Prevent duplicate definitions

Change-Id: I4cbc231bdac93ed3dca3fb6140c5c85e9eb4339d
üst 7cab4ce3
...@@ -76,7 +76,7 @@ typedef int NSP_PIPE_FD; ...@@ -76,7 +76,7 @@ typedef int NSP_PIPE_FD;
//for pipe() //for pipe()
typedef HANDLE NSP_PIPE_FD; typedef HANDLE NSP_PIPE_FD;
SECURITY_ATTRIBUTES NSP_pipe_access = { sizeof(SECURITY_ATTRIBUTES), NULL, TRUE}; static SECURITY_ATTRIBUTES NSP_pipe_access = { sizeof(SECURITY_ATTRIBUTES), NULL, TRUE};
#define NSP_Inherited_Pipe(fd) (!CreatePipe(&fd[0], &fd[1], &NSP_pipe_access, 1024*10)) #define NSP_Inherited_Pipe(fd) (!CreatePipe(&fd[0], &fd[1], &NSP_pipe_access, 1024*10))
#define NSP_Close_Pipe(fp) CloseHandle(fp) #define NSP_Close_Pipe(fp) CloseHandle(fp)
//for write(), read() //for write(), read()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment