removed stdlib.h from SDL_psp_main.c now that exit() is gone.

This commit is contained in:
Ozkan Sezer 2021-12-07 19:32:56 +03:00
parent 4facca0bff
commit 8cee50eea5

View file

@ -8,7 +8,6 @@
#include "SDL_main.h" #include "SDL_main.h"
#include <pspkernel.h> #include <pspkernel.h>
#include <pspthreadman.h> #include <pspthreadman.h>
#include <stdlib.h>
#ifdef main #ifdef main
#undef main #undef main
@ -45,7 +44,7 @@ int sdl_psp_callback_thread(SceSize args, void *argp)
int sdl_psp_setup_callbacks(void) int sdl_psp_setup_callbacks(void)
{ {
int thid = 0; int thid;
thid = sceKernelCreateThread("update_thread", thid = sceKernelCreateThread("update_thread",
sdl_psp_callback_thread, 0x11, 0xFA0, 0, 0); sdl_psp_callback_thread, 0x11, 0xFA0, 0, 0);
if(thid >= 0) if(thid >= 0)