mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 15:09:03 +02:00
- few tweaks to get things compiling under mingw
This commit is contained in:
@@ -43,10 +43,11 @@
|
||||
#endif // _WIN32
|
||||
|
||||
#include <GL/glew.h>
|
||||
#ifndef _WIN32
|
||||
//#include <boost/shared_ptr.hpp>
|
||||
|
||||
#if !defined(_WIN32) || defined(__MINGW32__)
|
||||
#include <tr1/memory>
|
||||
#endif
|
||||
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
@@ -61,7 +62,7 @@ using std::cout;
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32)
|
||||
using std::tr1::shared_ptr;
|
||||
#endif
|
||||
|
||||
|
@@ -48,7 +48,11 @@
|
||||
#include <map>
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
//#include <tr1/memory>
|
||||
|
||||
#if !defined(_WIN32) || defined(__MINGW32__)
|
||||
#include <tr1/memory>
|
||||
#endif
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
#include "Mathlib.h"
|
||||
@@ -60,7 +64,7 @@ using std::string;
|
||||
using std::vector;
|
||||
using std::map;
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32)
|
||||
using std::tr1::shared_ptr;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user