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:
parent
eabb3941fd
commit
1b7a1248a8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue