blob: c0a7bfdbabe75134c27f9294d583d6eeda6dfcf4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- platform.h.orig 2014-01-06 18:17:50.000000000 +0400
+++ platform.h 2014-11-21 19:53:36.000000000 +0300
@@ -11,7 +11,7 @@
// http://predef.sourceforge.net/prearch.html , these ought to work on
// gcc, Sun Studio and Visual Studio.
// Throw in ia64 as well, though I doubt anyone will play EL on that.
-#if defined (__x86_64__) || defined (_M_X64) || defined (__ia64__) || defined (_M_IA64)
+#if defined (__x86_64__) || defined (_M_X64) || defined (__ia64__) || defined (_M_IA64) || defined (__amd64__)
#define X86_64
#endif
@@ -85,16 +85,13 @@
#include "elglext.h"
#define APIENTRY
#define APIENTRYP *
-#elif !defined(BSD)
+#else
#define GL_GLEXT_LEGACY
#include <GL/gl.h>
#include <GL/glu.h>
#undef GL_VERSION_1_2
#undef GL_VERSION_1_3
- #include "glext.h"
-#else // BSD
- #include <GL/gl.h>
- #include <GL/glu.h>
+ #include <GL/glext.h>
#endif
// Inlucde the plaform specific location sound libs
|