When I try to build, I get build and link errors for errno


I'm building using PB 6.0.
If I add extern int errno to get files to build, then I get a link error saying errno not found.
Where should errno be coming from?
BUILD: [01:0000000143:ERRORE] ssl_bio.lib(bss_file.obj) : error LNK2001: unresol
ved external symbol _errno


JeanJacques wrote Dec 20, 2006 at 2:09 PM

In this project, errno is not a variable but a macro defined in SSHCOMPAT\includes\errno.h#define errno (GetLastError())#define SET_ERRNO(x) SetLastError((x))

wrote Feb 14, 2013 at 3:07 AM