Ozkan Sezer
3f1b5efcca
os2 loadso improvements:
...
- SDL_LoadObject: upon failure, strip the .dll extension and retry,
but only if module name has no path.
- SDL_LoadFunction: upon failure, retry with an underscore prepended,
e.g. for gcc-built dlls.
2022-10-22 08:40:16 -07:00
Ozkan Sezer
4264c0b674
os2: fix error message for SDL_LoadObject()
2022-10-21 11:21:40 +03:00
pionere
ebdd536676
use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError
2022-01-28 20:40:19 -05:00
Sam Lantinga
120c76c84b
Updated copyright for 2022
2022-01-03 09:40:21 -08:00
Sam Lantinga
9130f7c377
Updated copyright for 2021
2021-01-02 10:25:38 -08:00
Ozkan Sezer
3b92933ac6
SDL_LoadObject (windows, os/2): prevent crash if dll name is NULL.
2020-12-13 17:37:50 +03:00
Ozkan Sezer
a90f0400a5
os2: a _lot_ of coding style cleanup, sot that they match the SDL style.
...
also renamed the 'debug' macro to debug_os2: the former was dangerously
a common name.
the binary (dll) output is precisely the same as before.
2020-10-15 21:37:30 +03:00
Ozkan Sezer
1d9cf23e4c
os2: updated copyright dates for 2020. header guard fixes.
2020-10-14 23:01:05 +03:00
Ozkan Sezer
aa790837eb
os2: several warning fixes.
...
mostly those "W007: '&array' may not produce intended result" warnings
from Watcom, visible only in C++ mode. one or two others here & there.
2020-10-14 23:01:02 +03:00
Ozkan Sezer
d1323eb0a9
os2: better error reporting from loadso
2020-10-14 23:01:01 +03:00
Ozkan Sezer
110a0f7bb1
os2: update include paths. add missing libc includes to geniconv.
2020-10-14 23:01:01 +03:00
Ozkan Sezer
74cfb81dbb
os2: add port files for SDL2-2.0.4 from Andrey Vasilkin
...
only geniconv/iconv.h (was from LGPL libiconv) is replaced with a generic
minimal iconv.h based on public knowledge.
2020-10-14 23:01:00 +03:00