Update the changelog
[opencv] / apps / cvenv / include / errno.h
1 #ifndef ERRNOH_
2 #define ERRNOH_
3
4 #pragma push_safeptr
5
6
7 #include <sys/errno.h>
8
9 #ifdef _EiC
10
11 extern int *_ErRnNo_;
12 #define errno   (*_ErRnNo_)
13 int * _get_errno(void);
14 _ErRnNo_ = _get_errno();
15
16 #else
17
18 extern int errno;
19
20 #endif
21
22
23
24 #pragma pop_ptr
25
26 #endif /* ERRNOH_ */