1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Moved some VC++ specific hacks to platform header.

This commit is contained in:
Camilla Berglund 2014-03-06 21:05:55 +01:00
parent eb460c30ce
commit 76eefcc08a
4 changed files with 5 additions and 12 deletions

View File

@ -30,10 +30,6 @@
#include <stdlib.h>
#include <string.h>
#if defined(_MSC_VER)
#include <malloc.h>
#endif
//////////////////////////////////////////////////////////////////////////
////// GLFW internal API //////

View File

@ -31,11 +31,6 @@
#include <stdlib.h>
#include <limits.h>
#if defined(_MSC_VER)
#include <malloc.h>
#define strdup _strdup
#endif
// Lexical comparison function for GLFW video modes, used by qsort
//

View File

@ -62,6 +62,11 @@
#define _WIN32_WINNT 0x0501
#endif
#if defined(_MSC_VER)
#include <malloc.h>
#define strdup _strdup
#endif
#include <windows.h>
#include <mmsystem.h>
#include <dbt.h>

View File

@ -30,9 +30,6 @@
#include <string.h>
#include <stdlib.h>
#if defined(_MSC_VER)
#include <malloc.h>
#endif
// Return the maxiumum of the specified values