Skip to content

Commit

Permalink
Include config.h only on linux (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Feb 1, 2023
1 parent 8650012 commit 0c34945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#define jou_mkdir(x) _mkdir((x))
#else
#define jou_mkdir(x) mkdir((x), 0777) // this is what mkdir in bash does according to strace
#include "../config.h" // specifies path where clang is installed
#endif

#include "jou_compiler.h"
#include "../config.h"
#include <libgen.h>
#include <errno.h>
#include <sys/stat.h>
Expand Down

0 comments on commit 0c34945

Please sign in to comment.