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 a0c9ec1 commit 8cfe9c0Copy full SHA for 8cfe9c0
flang/runtime/file.cpp
@@ -14,12 +14,12 @@
14
#include <cstring>
15
#include <fcntl.h>
16
#include <stdlib.h>
17
+#include <sys/stat.h>
18
#ifdef _WIN32
19
#define NOMINMAX
20
#include <io.h>
21
#include <windows.h>
22
#else
-#include <sys/stat.h>
23
#include <unistd.h>
24
#endif
25
flang/tools/flang-driver/driver.cpp
@@ -131,7 +131,7 @@ int main(int argc_, const char **argv_) {
131
// information if possible.
132
isCrash = CommandRes < 0;
133
134
- IsCrash |= CommandRes == 3;
+ isCrash |= CommandRes == 3;
135
136
if (isCrash) {
137
theDriver.generateCompilationDiagnostics(*c, *failingCommand);
0 commit comments