- few tweaks to get things compiling under mingw

This commit is contained in:
Mark Vejvoda
2011-12-25 03:09:39 +00:00
parent 7d0cf06fe1
commit 835c886705
13 changed files with 324 additions and 268 deletions

View File

@@ -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

View File

@@ -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