mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-07 17:22:02 +00:00

WinCE's strtol can't actually do proper error handling because it is lacking errno, so just check the bounds instead. If you really have some need to pass LONG_MIN/LONG_MAX as command-line parameters then it could always be #ifdeffed, but I'm assuming no-one cares.