diff options
| author | Ray <raysan5@gmail.com> | 2018-10-08 12:29:02 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2018-10-08 12:29:02 +0200 |
| commit | 2feea87b616292b5bce4454a42c2d048f1cce7d8 (patch) | |
| tree | da6e5daeb725c36838c7aa83a9cee3408587eda0 /src/external | |
| parent | 46c0e73c6cd419009c07a3feea7c744132cfd127 (diff) | |
| download | raylib-2feea87b616292b5bce4454a42c2d048f1cce7d8.tar.gz raylib-2feea87b616292b5bce4454a42c2d048f1cce7d8.zip | |
Multiple changes, check description
REVIEW: Reorganized global variables for consistency
ADDED: GetWindowHandle() to get native window handle
ADDED: GetDirectoryFiles() to get files list for a DIR
Diffstat (limited to 'src/external')
| -rw-r--r-- | src/external/glfw/include/GLFW/glfw3native.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/external/glfw/include/GLFW/glfw3native.h b/src/external/glfw/include/GLFW/glfw3native.h index 4372cb76..84bb3399 100644 --- a/src/external/glfw/include/GLFW/glfw3native.h +++ b/src/external/glfw/include/GLFW/glfw3native.h @@ -90,7 +90,12 @@ extern "C" { #undef APIENTRY #undef GLFW_APIENTRY_DEFINED #endif - #include <windows.h> +// RAY: Actually, only HWND handler needs to be defined +// Including windows.h could suppose symbols re-definition issues (i.e Rectangle type) +//#include <windows.h> + typedef void *PVOID; + typedef PVOID HANDLE; + typedef HANDLE HWND; #elif defined(GLFW_EXPOSE_NATIVE_COCOA) #include <ApplicationServices/ApplicationServices.h> #if defined(__OBJC__) |
