Fix CI
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
// Vita-only (SceGxm message dialog). Guarded so the file is an empty translation
|
||||
// unit when the premake/CMake source glob pulls it into non-PSP2 platform builds;
|
||||
// the Vita target itself builds via its own Makefile.
|
||||
#ifdef PSP2
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include <psp2/display.h>
|
||||
@@ -117,3 +122,5 @@ int fileExists(const char *path) {
|
||||
SceIoStat stat;
|
||||
return sceIoGetstat(path, &stat) >= 0;
|
||||
}
|
||||
|
||||
#endif // PSP2
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef MESSAGE_H
|
||||
#define MESSAGE_H
|
||||
|
||||
// Vita-only (SceGxm). Everything here pulls psp2/* headers, so keep it out of
|
||||
// non-PSP2 builds that include this header via the source glob. See message.cpp.
|
||||
#ifdef PSP2
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -44,4 +48,6 @@ private:
|
||||
void showMsgDialog(const char *message);
|
||||
int fileExists(const char *path);
|
||||
|
||||
#endif // PSP2
|
||||
|
||||
#endif //MESSAGE_H
|
||||
|
||||
Reference in New Issue
Block a user