Added errno definition. Woops.

git-svn-id: http://picoc.googlecode.com/svn/trunk@447 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2010-06-29 19:54:30 +00:00
parent 06acdabc6f
commit 9969c4881a

View file

@ -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 */