engine: whereami: update from our downstream fork (only cosmetic changes)
This commit is contained in:
parent
377dd9a255
commit
3a0f1763fb
1 changed files with 20 additions and 4 deletions
|
@ -795,7 +795,7 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
|||
return length;
|
||||
}
|
||||
|
||||
#elif defined(__sgi) || defined(__SWITCH__) || defined(__vita__)
|
||||
#elif defined(__sgi)
|
||||
|
||||
/*
|
||||
* These functions are stubbed for now to get the code compiling.
|
||||
|
@ -822,6 +822,22 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
|||
return -1;
|
||||
}
|
||||
|
||||
#elif defined(__SWITCH__) || defined(__vita__)
|
||||
|
||||
/* Not possible on this platform */
|
||||
|
||||
WAI_FUNCSPEC
|
||||
int WAI_PREFIX(getExecutablePath)(char* out, int capacity, int* dirname_length)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
WAI_FUNCSPEC
|
||||
int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#error unsupported platform
|
||||
|
|
Loading…
Add table
Reference in a new issue