We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8861efd commit 175bcc4Copy full SHA for 175bcc4
1 file changed
cpp2rust/compat/errno.h
@@ -0,0 +1,10 @@
1
+// Copyright (c) 2022-present INESC-ID.
2
+// Distributed under the MIT license that can be found in the LICENSE file.
3
+
4
+#include_next <errno.h>
5
6
+#undef errno
7
8
+int *cpp2rust_errno(void);
9
10
+#define errno (*cpp2rust_errno())
0 commit comments