packages feed

bindings-GLFW 3.0.3.2 → 3.0.3.3

raw patch · 5 files changed

+11/−2 lines, 5 files

Files

bindings-GLFW.cabal view
@@ -1,5 +1,5 @@ name:         bindings-GLFW-version:      3.0.3.2+version:      3.0.3.3 category:     Graphics  author:       Brian Lewis <brian@lorf.org>
glfw/src/cocoa_clipboard.m view
@@ -29,6 +29,9 @@ #include <limits.h> #include <string.h> +#if _WIN64+#define strdup _strdup+#endif  ////////////////////////////////////////////////////////////////////////// //////                       GLFW platform API                      //////
glfw/src/cocoa_monitor.m view
@@ -31,6 +31,9 @@ #include <limits.h>  #include <IOKit/graphics/IOGraphicsLib.h>+#if _WIN64+#define strdup _strdup+#endif   // Get the name of the specified display
glfw/src/monitor.c view
@@ -31,7 +31,7 @@ #include <stdlib.h> #include <limits.h> -#if defined(_MSC_VER)+#if defined(_MSC_VER) || _WIN64  #include <malloc.h>  #define strdup _strdup #endif
glfw/src/x11_clipboard.c view
@@ -31,6 +31,9 @@ #include <string.h> #include <stdlib.h> +#if _WIN64+#define strdup _strdup+#endif  // Returns whether the event is a selection event //