Skip to content
Snippets Groups Projects
Commit 45247de0 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard
Browse files

Fix errno linkage when compiling in C++.

parent c36faaaa
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,16 @@
#endif /* USE_MSVCRT_PREFIX */
#ifdef __cplusplus
extern "C" {
#endif
extern int* MSVCRT(_errno)(void);
#ifdef __cplusplus
}
#endif
#ifndef USE_MSVCRT_PREFIX
# define errno (*_errno())
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment