fixed: implicit function _mkdir
This commit is contained in:
parent
3587451b93
commit
f9a18fc107
|
@ -18,6 +18,8 @@
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
// for _fullpath
|
// for _fullpath
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
// for _mkdir
|
||||||
|
#include <direct.h>
|
||||||
|
|
||||||
#define MAX_PATH_BYTES _MAX_PATH
|
#define MAX_PATH_BYTES _MAX_PATH
|
||||||
|
|
||||||
|
@ -67,9 +69,7 @@ void delete_files(ModuleFileStack *stack) {
|
||||||
// seeking the current line in print_diagnostic()
|
// seeking the current line in print_diagnostic()
|
||||||
#define SEEK_BUF_BYTES 256
|
#define SEEK_BUF_BYTES 256
|
||||||
|
|
||||||
static inline unsigned long int min(unsigned long int a, unsigned long int b) {
|
#define min(a, b) ((a) > (b) ? (b) : (a))
|
||||||
return a > b ? b : a;
|
|
||||||
}
|
|
||||||
|
|
||||||
// behaves like fgets except that it has defined behavior when n == 1
|
// behaves like fgets except that it has defined behavior when n == 1
|
||||||
static void custom_fgets(char *buffer, size_t n, FILE *stream) {
|
static void custom_fgets(char *buffer, size_t n, FILE *stream) {
|
||||||
|
|
Loading…
Reference in New Issue