This commit is contained in:
David Zuber
2019-09-01 14:14:08 +01:00
parent 924ff5f5ef
commit 8e8907f48b
631 changed files with 202169 additions and 0 deletions

View File

@ -0,0 +1,20 @@
//
// "Extension" implementation of errno.h for Windows CE.
//
// I (Simon Howard) release this file to the public domain.
//
#include <windows.h>
#include "errno.h"
// This should really be a thread-local variable. Oh well.
static int my_errno;
int *_GetErrno()
{
my_errno = GetLastError();
return &my_errno;
}