Browse Source

didn't help :/ so removed it to see if it can build again

Thomas la Cour 1 year ago
parent
commit
980ee3310f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      core/sys/windows/user32.odin

+ 2 - 3
core/sys/windows/user32.odin

@@ -93,9 +93,8 @@ foreign user32 {
 
 	CreateCursor :: proc(hInst: HINSTANCE, xHotSpot: c_int, yHotSpot: c_int, nWidth: c_int, nHeight: c_int, pvANDPlane: PVOID, pvXORPlane: PVOID) -> HCURSOR ---
 	DestroyCursor :: proc(hCursor: HCURSOR) -> BOOL ---
-
-	@(link_name="ShowCursor") // ShowCursor somehow made the raylib fail with: D:/a/Odin/Odin/vendor/raylib/raylib.odin(1016:22) Redeclaration of foreign procedure 'ShowCursor' with different type signatures
-	_ShowCursor :: proc(bShow: BOOL) -> c_int ---
+	// ShowCursor somehow made the raylib fail with: D:/a/Odin/Odin/vendor/raylib/raylib.odin(1016:22) Redeclaration of foreign procedure 'ShowCursor' with different type signatures
+	// ShowCursor :: proc(bShow: BOOL) -> c_int ---
 
 	GetWindowRect :: proc(hWnd: HWND, lpRect: LPRECT) -> BOOL ---
 	GetClientRect :: proc(hWnd: HWND, lpRect: LPRECT) -> BOOL ---