Fix some compilation errors.

This commit is contained in:
Rinnegatamante 2021-07-29 23:46:05 +02:00
parent 3238dc65fe
commit 7203d9044c
2 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ jobs:
git clone https://github.com/Rinnegatamante/librw-vita
cd librw-vita
make -j4 && make install
cd ..
- name: Compile reVC
run: |
make -j4

View File

@ -1316,7 +1316,7 @@ void HandleExit()
#endif
}
#if defined(_WIN32) && !defined(PSP2)
#if !defined(_WIN32) && !defined(PSP2)
void terminateHandler(int sig, siginfo_t *info, void *ucontext) {
RsGlobal.quit = TRUE;
}
@ -2073,7 +2073,7 @@ main(int argc, char *argv[])
InitMemoryMgr();
#endif
#if defined(_WIN32) && !defined(PSP2)
#if !defined(_WIN32) && !defined(PSP2)
struct sigaction act;
act.sa_sigaction = terminateHandler;
act.sa_flags = SA_SIGINFO;