1 2 3 4 5 6 7 8
#ifndef INCLUDED_ERRNOPORT_H #define INCLUDED_ERRNOPORT_H #undef errno #define errno (*__mp_errno()) extern int* __mp_errno(void); #endif // INCLUDED_ERRNOPORT_H