File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 34
34
#include < SDL_system.h>
35
35
#endif
36
36
37
- #if defined(GEKKO) || defined(__MORPHOS__) || defined(__amigaos4__)
37
+ #if defined(GEKKO) || defined(SWITCH) || defined( __MORPHOS__) || defined(__amigaos4__)
38
38
#include < unistd.h>
39
39
#endif
40
40
@@ -83,7 +83,7 @@ void Main_Data::Init() {
83
83
// first set to current directory for all platforms
84
84
project_path = " ." ;
85
85
86
- #if defined(GEKKO) || defined(__MORPHOS__) || defined(__amigaos4__)
86
+ #if defined(GEKKO) || defined(SWITCH) || defined( __MORPHOS__) || defined(__amigaos4__)
87
87
// Working directory not correctly handled
88
88
char working_dir[256 ];
89
89
getcwd (working_dir, 255 );
Original file line number Diff line number Diff line change 15
15
* along with EasyRPG Player. If not, see <http://www.gnu.org/licenses/>.
16
16
*/
17
17
18
- #if !(defined(_WIN32) || defined(GEKKO) || defined(__ANDROID__) || defined(EMSCRIPTEN) || defined(_3DS))
18
+ #if !(defined(_WIN32) || defined(GEKKO) || defined(__ANDROID__) || defined(EMSCRIPTEN) || defined(_3DS) || defined(SWITCH) )
19
19
20
20
#include < cstdlib>
21
21
#include " registry.h"
You can’t perform that action at this time.
0 commit comments