Added errno definition. Woops.
git-svn-id: http://picoc.googlecode.com/svn/trunk@447 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
06acdabc6f
commit
9969c4881a
|
@ -648,6 +648,8 @@ void StdErrnoSetupFunc(void)
|
|||
#ifdef EXDEV
|
||||
VariableDefinePlatformVar(NULL, "EXDEV", &IntType, (union AnyValue *)&EXDEVValue, FALSE);
|
||||
#endif
|
||||
|
||||
VariableDefinePlatformVar(NULL, "errno", &IntType, (union AnyValue *)&errno, TRUE);
|
||||
}
|
||||
|
||||
#endif /* !BUILTIN_MINI_STDLIB */
|
||||
|
|
Loading…
Reference in a new issue