Mostly cleaned up warnings with -Wmissing-prototypes

This commit is contained in:
Sam Lantinga 2010-06-26 08:56:48 -07:00
parent b46edfbdc6
commit 95fbd50b15
23 changed files with 88 additions and 39 deletions

View file

@ -1,6 +1,8 @@
#ifdef __APPLE__
#import <Foundation/Foundation.h>
#include "SDL_rwopsbundlesupport.h"
/* For proper OS X applications, the resources are contained inside the application bundle.
So the strategy is to first check the application bundle for the file, then fallback to the current working directory.
Note: One additional corner-case is if the resource is in a framework's resource bundle instead of the app.