Add support for the Nokia N-Gage (#5597)

* Add initial support for the Nokia N-Gage

* N-Gage: disable clipping for the time being, issue needs to be resolved later

* Move va_copy definition to SDL_internal.h

* Move stdlib.h include to SDL_config_ngage.h, much cleaner this way

* Remove redundant include, add HAVE_STDLIB_H

* Revert "N-Gage: disable clipping for the time being, issue needs to be resolved later"

This reverts commit 4f5f0fc36c.

* N-Gage: fix clipping issue by providing proper math functions
This commit is contained in:
Michael Fitzmayer
2022-05-03 17:51:49 +02:00
committed by GitHub
parent 3fcc2cb500
commit fbd230bb6c
25 changed files with 1941 additions and 1 deletions

View File

@@ -27,7 +27,10 @@
#endif
/* Do our best to make sure va_copy is working */
#if defined(_MSC_VER) && _MSC_VER <= 1800
#if defined(__NGAGE__)
#undef va_copy
#define va_copy(dst, src) dst = src
#elif defined(_MSC_VER) && _MSC_VER <= 1800
/* Visual Studio 2013 tries to link with _vacopy in the C runtime. Newer versions do an inline assignment */
#undef va_copy
#define va_copy(dst, src) dst = src