Skip to content

Commit f9aaaa6

Browse files
committed
[Nokia N-Gage] Remove redundant nullptr definition.
1 parent fb794ee commit f9aaaa6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

include/SDL3/SDL_platform_defines.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,6 @@ typedef unsigned long uintptr_t;
496496
typedef signed long intptr_t;
497497
typedef long ssize_t;
498498

499-
extern const void* nullptr;
500-
501499
#undef __NGAGE__
502500
#endif
503501

src/video/ngage/SDL_ngagevideo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static SDL_VideoDevice* NGAGE_CreateDevice(void)
4545
if (!device)
4646
{
4747
SDL_OutOfMemory();
48-
return (SDL_VideoDevice*)nullptr;
48+
return (SDL_VideoDevice*)0;
4949
}
5050

5151
// Initialize internal N-Gage specific data.
@@ -54,7 +54,7 @@ static SDL_VideoDevice* NGAGE_CreateDevice(void)
5454
{
5555
SDL_OutOfMemory();
5656
SDL_free(device);
57-
return (SDL_VideoDevice*)nullptr;
57+
return (SDL_VideoDevice*)0;
5858
}
5959

6060
device->internal = phdata;

0 commit comments

Comments
 (0)