--- 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 #include #undef GL_VERSION_1_2 #undef GL_VERSION_1_3 - #include "glext.h" -#else // BSD - #include - #include + #include #endif // Inlucde the plaform specific location sound libs