diff options
Diffstat (limited to 'src/windows/port.h')
-rw-r--r-- | src/windows/port.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows/port.h b/src/windows/port.h index 66745d1..81a68e6 100644 --- a/src/windows/port.h +++ b/src/windows/port.h @@ -277,6 +277,8 @@ enum { STDIN_FILENO = 0, STDOUT_FILENO = 1, STDERR_FILENO = 2 }; #define O_RDONLY _O_RDONLY #endif +extern "C" PERFTOOLS_DLL_DECL void WriteToStderr(const char* buf, int len); + // ----------------------------------- SYSTEM/PROCESS typedef int pid_t; #define getpid _getpid |