Fix OSX compilation

This commit is contained in:
twinaphex 2018-03-29 15:41:02 +02:00
parent c041470bb0
commit ca7c374303
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#include <compat/unlink_utf8.h>
#include <encodings/utf.h>
#include "boolean.h"
#include <malloc.h>
#include <boolean.h>
#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0500 || defined(_XBOX)
#ifndef LEGACY_WIN32
@ -14,6 +13,7 @@
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <malloc.h>
bool unlink_utf8(const char * filename)
{

View File

@ -1,7 +1,7 @@
#ifndef __UNLINK_UTF8_H
#define __UNLINK_UTF8_H
#include "boolean.h"
#include <boolean.h>
#ifdef _WIN32