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 a0b1fa1 commit 32a6bddCopy full SHA for 32a6bdd
1 file changed
clang/tools/c-arcmt-test/c-arcmt-test.c
@@ -1,12 +1,18 @@
1
/* c-arcmt-test.c */
2
3
+#ifndef _WIN32
4
+#define _POSIX_C_SOURCE 200809L
5
+#endif
6
+
7
#include "clang-c/Index.h"
8
#include <stdlib.h>
9
#include <stdio.h>
10
#include <string.h>
11
#if defined(_WIN32)
12
#include <io.h>
13
#include <fcntl.h>
14
+#else
15
+#include <unistd.h>
16
#endif
17
18
static int print_remappings(const char *path) {
0 commit comments