mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 20:15:54 +02:00
Fixed warnings on VC++.
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define strdup(x) _strdup(x)
|
||||
#endif
|
||||
|
||||
typedef struct Joystick
|
||||
{
|
||||
GLboolean present;
|
||||
|
||||
Reference in New Issue
Block a user