scummvm/backends/platform/sdl/macosx
Donovan Watteau 5db6e27eca MACOSX: Fix NSUInteger definition on macOS 10.4
NSUInteger should be an `unsigned int` on 32-bit Tiger, and an
`unsigned long` on 64-bit Tiger. In practice, this wasn't really a
problem since we were always using `unsigned long` which has the same
width on 32-bit Tiger, but still it's more correct to do what the
official 10.5 SDK does.

The preprocessor defines come from Apple's documentation and from
their SDK. We can use it as-is, since we're in the backend code, and
already in an ifdef only targeting Tiger (where I've tested this
change).

Also fix a small GCC warning while there.
2022-11-09 12:27:51 +01:00
..
appmenu_osx.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
appmenu_osx.mm MACOSX: Fix NSUInteger definition on macOS 10.4 2022-11-09 12:27:51 +01:00
macosx-compat.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
macosx-main.cpp PLUGINS: Let macOS use its resource bundle as a valid plugin directory 2022-05-22 23:42:45 +01:00
macosx-touchbar.h ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
macosx-touchbar.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
macosx-window.h JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments 2022-01-29 14:15:05 +01:00
macosx-window.mm ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
macosx.cpp COMMON: Restructuring how ApplicationSupport path is calculated and putting in Icons subdirectory 2022-07-02 22:34:36 +02:00
macosx.h COMMON: Adding comment for default path methods 2022-07-02 22:34:36 +02:00
macosx_wrapper.h COMMON: Restructuring how ApplicationSupport path is calculated and putting in Icons subdirectory 2022-07-02 22:34:36 +02:00
macosx_wrapper.mm MACOSX: Fix NSUInteger definition on macOS 10.4 2022-11-09 12:27:51 +01:00