fix typo in fix_win32_compatibility.h (#6043)

* fix typo in fix_win32_compatibility.h

* fix another typo in fix_win32_compatibility.h

* fix yet another typo in fix_win32_compatibility.h
This commit is contained in:
Vortex 2026-08-08 14:57:40 +00:00 • committed by GitHub
commit b0005129c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
* *
* fix_win32_compatibility.h Utility to help include windows.h with raylib projects * fix_win32_compatibility.h Utility to help include windows.h with raylib projects
* *
* Useage: #include "fix_win32_compatibility.h" any library that uses windows.h * Usage: #include "fix_win32_compatibility.h" any library that uses windows.h
* order is critical, this must be done before raylib * order is critical, this must be done before raylib
* *
* LICENSE: MIT * LICENSE: MIT
@ -32,7 +32,7 @@
#pragma once #pragma once
// move the windows functions to new names // move the windows functions to new names
// note that you can't call these functions or structures from your code, but you should not neeed to // note that you can't call these functions or structures from your code, but you should not need to
#define CloseWindow CloseWindowWin32 #define CloseWindow CloseWindowWin32
#define Rectangle RectangleWin32 #define Rectangle RectangleWin32
#define ShowCursor ShowCursorWin32 #define ShowCursor ShowCursorWin32
@ -47,7 +47,7 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
// remove all our redfintions so that raylib can define them properly // remove all our redefinitions so that raylib can define them properly
#undef CloseWindow #undef CloseWindow
#undef Rectangle #undef Rectangle
#undef ShowCursor #undef ShowCursor