mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03: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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user