fixed: implicit function _mkdir

This commit is contained in:
Sven Vogel 2024-06-05 11:54:27 +02:00
parent 3587451b93
commit f9a18fc107
2 changed files with 3 additions and 3 deletions

0
ci-build.sh Normal file → Executable file
View File

View File

@ -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) {