1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Declare Windows mkdir as static

It's not going to be used in any other files so... best to declare it
static.
This commit is contained in:
Misa 2021-09-23 23:26:00 -07:00
parent eabb3941fd
commit 1b7a1248a8

View file

@ -16,7 +16,7 @@
#if defined(_WIN32) #if defined(_WIN32)
#include <windows.h> #include <windows.h>
#include <shlobj.h> #include <shlobj.h>
int mkdir(char* path, int mode) static int mkdir(char* path, int mode)
{ {
WCHAR utf16_path[MAX_PATH]; WCHAR utf16_path[MAX_PATH];
MultiByteToWideChar(CP_UTF8, 0, path, -1, utf16_path, MAX_PATH); MultiByteToWideChar(CP_UTF8, 0, path, -1, utf16_path, MAX_PATH);