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:
parent
9faeb2bfb9
commit
926e6c9225
|
@ -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];
|
||||
|
|
|
@ -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, ...) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user