diff options
Diffstat (limited to 'common/os_calls.c')
| -rw-r--r-- | common/os_calls.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 5fdcdd51..2a2184b7 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1698,6 +1698,13 @@ g_get_strerror(void) } /*****************************************************************************/ +int APP_CC +g_get_errno(void) +{ + return errno; +} + +/*****************************************************************************/ /* does not work in win32 */ int APP_CC g_execvp(const char* p1, char* args[]) |
