mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 05:22:00 +00:00
Removed support for Borland C++.
This commit is contained in:
parent
4d146cb39d
commit
a8bc2af649
@ -106,8 +106,8 @@ extern "C" {
|
|||||||
|
|
||||||
/* Under Windows, we need WINGDIAPI defined */
|
/* Under Windows, we need WINGDIAPI defined */
|
||||||
#if !defined(WINGDIAPI) && defined(_WIN32)
|
#if !defined(WINGDIAPI) && defined(_WIN32)
|
||||||
#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__POCC__)
|
#if defined(_MSC_VER) || defined(__POCC__)
|
||||||
/* Microsoft Visual C++, Borland C++ Builder and Pelles C */
|
/* Microsoft Visual C++ and Pelles C */
|
||||||
#define WINGDIAPI __declspec(dllimport)
|
#define WINGDIAPI __declspec(dllimport)
|
||||||
#elif defined(__LCC__)
|
#elif defined(__LCC__)
|
||||||
/* LCC-Win32 */
|
/* LCC-Win32 */
|
||||||
|
@ -30,11 +30,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
|
||||||
// With the Borland C++ compiler, we want to disable FPU exceptions
|
|
||||||
#include <float.h>
|
|
||||||
#endif // __BORLANDC__
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(_GLFW_USE_OPTIMUS_HPG)
|
#if defined(_GLFW_USE_OPTIMUS_HPG)
|
||||||
|
|
||||||
@ -335,12 +330,6 @@ int _glfwPlatformInit(void)
|
|||||||
if (_glfw_SetProcessDPIAware)
|
if (_glfw_SetProcessDPIAware)
|
||||||
_glfw_SetProcessDPIAware();
|
_glfw_SetProcessDPIAware();
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
|
||||||
// With the Borland C++ compiler, we want to disable FPU exceptions
|
|
||||||
// (this is recommended for OpenGL applications under Windows)
|
|
||||||
_control87(MCW_EM, MCW_EM);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!_glfwRegisterWindowClass())
|
if (!_glfwRegisterWindowClass())
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
|
||||||
@ -381,8 +370,6 @@ const char* _glfwPlatformGetVersionString(void)
|
|||||||
" MinGW"
|
" MinGW"
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
" VisualC"
|
" VisualC"
|
||||||
#elif defined(__BORLANDC__)
|
|
||||||
" BorlandC"
|
|
||||||
#endif
|
#endif
|
||||||
#if defined(_GLFW_BUILD_DLL)
|
#if defined(_GLFW_BUILD_DLL)
|
||||||
" DLL"
|
" DLL"
|
||||||
|
Loading…
Reference in New Issue
Block a user