We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03c176 commit 84f9086Copy full SHA for 84f9086
cpp/common/test/includes/standard-library/cerrno
@@ -1,2 +1 @@
1
-int __errno;
2
-#define errno __errno
+#include <errno.h>
cpp/common/test/includes/standard-library/errno.h
@@ -1,3 +1,5 @@
-namespace std {
-typedef int errno_t;
3
-} // namespace std
+#ifndef _GHLIBCPP_ERRNO
+#define _GHLIBCPP_ERRNO
+int __errno;
4
+#define errno __errno
5
+#endif // _GHLIBCPP_ERRNO
0 commit comments