Skip to content

Commit 3b8b406

Browse files
committed
[Nokia N-Gage] Update configuration after adding stdbool.h, stdint.h and wchar.h to the toolchain.
1 parent f9aaaa6 commit 3b8b406

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

cmake/nokia_ngage.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ set(test_libs
7777
${EPOC_LIB}/cone.lib
7878
${EPOC_PLATFORM}/gcc/lib/gcc-lib/arm-epoc-pe/2.9-psion-98r2/libgcc.a
7979
${EPOC_PLATFORM}/ngagesdk/lib/gcc/arm-epoc-pe/4.6.4/libgcc_ngage.a
80+
${EPOC_PLATFORM}/ngagesdk/lib/gcc/arm-epoc-pe/4.6.4/libc_ngage.a
8081
${EPOC_LIB}/mediaclientaudiostream.lib
8182
${EPOC_LIB}/charconv.lib
8283
${EPOC_LIB}/bitgdi.lib

include/SDL3/SDL_platform_defines.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -484,16 +484,6 @@
484484
*/
485485
#define SDL_PLATFORM_NGAGE 1
486486

487-
typedef signed char int8_t;
488-
typedef unsigned char uint8_t;
489-
typedef signed short int16_t;
490-
typedef unsigned short uint16_t;
491-
typedef signed int int32_t;
492-
typedef unsigned int uint32_t;
493-
typedef signed long long int64_t;
494-
typedef unsigned long long uint64_t;
495-
typedef unsigned long uintptr_t;
496-
typedef signed long intptr_t;
497487
typedef long ssize_t;
498488

499489
#undef __NGAGE__

include/SDL3/SDL_stdinc.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,9 @@
4949
#include <SDL3/SDL_platform_defines.h>
5050

5151
#include <stdarg.h>
52-
#if defined (HAVE_STDINT_H)
5352
#include <stdint.h>
54-
#endif
5553
#include <string.h>
56-
#if defined (HAVE_WCHAR_H)
5754
#include <wchar.h>
58-
#endif
5955

6056
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && !defined SDL_PLATFORM_NGAGE) || \
6157
defined(SDL_INCLUDE_INTTYPES_H)

include/build_config/SDL_build_config_ngage.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <SDL3/SDL_platform_defines.h>
2727
#include <math.h>
2828
#include <stdarg.h>
29+
#include <stdint.h>
2930
#include <stdio.h>
3031
#include <stdlib.h>
3132

@@ -61,8 +62,8 @@
6162
#define HAVE_POW 1
6263
#define HAVE_SCALBN 1
6364
#define HAVE_SIN 1
64-
#define HAVE_STDIO_H 1
6565
#define HAVE_SQRT 1
66+
#define HAVE_STDIO_H 1
6667
#define HAVE_TAN 1
6768

6869
#define isnanf(x) SDL_uclibc_isnanf(x);

0 commit comments

Comments
 (0)