mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 16:32:53 +02:00
- merging in changes from weltall for macosx
This commit is contained in:
@@ -60,6 +60,10 @@
|
||||
#include "utf8.h"
|
||||
#include "leak_dumper.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <mach-o/dyld.h>
|
||||
#endif
|
||||
|
||||
using namespace Shared::Platform;
|
||||
using namespace Shared::Util;
|
||||
using namespace std;
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include "sdl_private.h"
|
||||
#include "noimpl.h"
|
||||
#include "util.h"
|
||||
#include "window.h"
|
||||
//#include "window.h"
|
||||
#include <vector>
|
||||
//#include <SDL_image.h>
|
||||
#include "leak_dumper.h"
|
||||
|
@@ -4,6 +4,11 @@
|
||||
* copyright (c) 2005-2011 Thomas Bernard
|
||||
* This software is subjet to the conditions detailed in the
|
||||
* provided LICENSE file. */
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#define MACOSX 1
|
||||
#define _DARWIN_C_SOURCE 1
|
||||
#endif
|
||||
#define __EXTENSIONS__ 1
|
||||
#if !defined(MACOSX) && !defined(__sun)
|
||||
#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||
|
@@ -31,7 +31,7 @@ namespace Shared { namespace Platform {
|
||||
// ======================================
|
||||
// Global Fcs
|
||||
// ======================================
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
void createGlFontBitmaps(uint32 &base, const string &type, int size, int width,
|
||||
int charCount, FontMetrics &metrics) {
|
||||
|
||||
@@ -155,5 +155,6 @@ void createGlFontOutlines(uint32 &base, const string &type, int width,
|
||||
NOIMPL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}}//end namespace
|
||||
|
Reference in New Issue
Block a user