summaryrefslogtreecommitdiffhomepage
path: root/src/external/glfw/include
diff options
context:
space:
mode:
authorDaijiro Fukuda <[email protected]>2022-08-21 18:44:16 +0900
committerGitHub <[email protected]>2022-08-21 11:44:16 +0200
commit7bb8ffc29e5c31edf2875ac7aaca38316cfe45e5 (patch)
tree9778149bc3eec41f7da496aa300a85960f45ade3 /src/external/glfw/include
parente835311d0d496692a1ae25c6b37c3141d4e10362 (diff)
downloadraylib-7bb8ffc29e5c31edf2875ac7aaca38316cfe45e5.tar.gz
raylib-7bb8ffc29e5c31edf2875ac7aaca38316cfe45e5.zip
Win32: resolve some symbols re-definition of windows.h in glfw3native.h (#2643)
* Win32: resolve some symbols re-definition of windows.h in glfw3native.h This reflects GLFW's fix: https://github.com/glfw/glfw/issues/1348 This enables to build with a external GLFW containing the following fix: * https://github.com/glfw/glfw/commit/05f6c13d119ea2662c97527d2421fb4cffd3dbfc Currently, glfw3native.h of the internal GLFW is customized at https://github.com/raysan5/raylib/commit/2feea87b616292b5bce4454a42c2d048f1cce7d8 This fix is compatible with the current customized glfw3native.h. This fix enables us to update it to the latest and remove the customization. * Win32: remove unneeded typedef
Diffstat (limited to 'src/external/glfw/include')
-rw-r--r--src/external/glfw/include/GLFW/glfw3native.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/external/glfw/include/GLFW/glfw3native.h b/src/external/glfw/include/GLFW/glfw3native.h
index f67f5402..323d3c77 100644
--- a/src/external/glfw/include/GLFW/glfw3native.h
+++ b/src/external/glfw/include/GLFW/glfw3native.h
@@ -92,9 +92,6 @@ extern "C" {
// @raysan5: 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) || defined(GLFW_EXPOSE_NATIVE_NSGL)
#if defined(__OBJC__)
#import <Cocoa/Cocoa.h>