mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-07 12:45:34 +00:00
Avoid closing stdin/stdout/stderr standard streams
This commit is contained in:
1 parent
8ab6190f96
commit
e9fa1e4e94
11 files changed
+42
-22
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "helpers.hpp" // assume
|
||||
#include "util.hpp" // xfclose
|
||||
|
||||
enum MissingInclude {
|
||||
INC_ERROR, // A missing included file is an error that halts assembly
|
||||
@@ -32,7 +33,7 @@ struct Options {
|
||||
|
||||
~Options() {
|
||||
if (dependFile) {
|
||||
fclose(dependFile);
|
||||
xfclose(dependFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user