Skip to content

Commit

Permalink
Fix devkitPPC v29.1 incompatibilities
Browse files Browse the repository at this point in the history
whoops
  • Loading branch information
Spotlight committed Dec 21, 2017
1 parent b8ec4ba commit 72c11dc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.o
*.d
*.a
2 changes: 2 additions & 0 deletions source/defines.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This seems to have been removed from newer versions of devkitPPC.
#define MAXPATHLEN 1024
1 change: 1 addition & 0 deletions source/filebrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#include <unistd.h>
#include <gccore.h>
#include "defines.h"

#define MAXJOLIET 255

Expand Down
2 changes: 2 additions & 0 deletions source/mplayer/mplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#ifndef MPLAYER_MPLAYER_H
#define MPLAYER_MPLAYER_H

#include "../defines.h"

extern char *filename;
extern char *current_module;
extern char **audio_fm_list;
Expand Down
1 change: 1 addition & 0 deletions source/mplayer/stream/cache2.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#ifndef MPLAYER_CACHE2_H
#define MPLAYER_CACHE2_H

#include "../../defines.h"
#include "stream.h"

extern float cache_fill_status;
Expand Down
2 changes: 2 additions & 0 deletions source/mplayer/version.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define VERSION "UNKNOWN-6.3.0"
#define MP_TITLE "%s "VERSION" (C) 2000-2012 MPlayer Team\n"
1 change: 1 addition & 0 deletions source/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Settings save/load to XML file
***************************************************************************/

#include "defines.h"
#include "networkop.h"

enum {
Expand Down

0 comments on commit 72c11dc

Please sign in to comment.