1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Changes to support mingw

This commit is contained in:
Logan McNaughton 2016-09-07 11:10:06 -06:00 committed by Sergey Lipskiy
parent 9faeb2bfb9
commit 926e6c9225
2 changed files with 4 additions and 4 deletions

View File

@ -393,7 +393,7 @@ void CombinerInfo::_saveShadersStorage() const
wchar_t fileName[PLUGIN_PATH_SIZE];
getStorageFileName(fileName);
#ifdef OS_WINDOWS
#if defined(OS_WINDOWS) && !defined(MINGW)
std::ofstream fout(fileName, std::ofstream::binary | std::ofstream::trunc);
#else
char fileName_c[PATH_MAX];
@ -431,7 +431,7 @@ bool CombinerInfo::_loadShadersStorage()
getStorageFileName(fileName);
m_configOptionsBitSet = _getConfigOptionsBitSet();
#ifdef OS_WINDOWS
#if defined(OS_WINDOWS) && !defined(MINGW)
std::ifstream fin(fileName, std::ofstream::binary);
#else
char fileName_c[PATH_MAX];

View File

@ -42,8 +42,8 @@ inline void LOG( u16 type, const char * format, ... ) {
#endif
#ifdef OS_WINDOWS
#include "windows/GLideN64_Windows.h"
#if defined(OS_WINDOWS) && !defined(MINGW)
#include "windows/GLideN64_windows.h"
#include <stdio.h>
inline void debugPrint(const char * format, ...) {