Fixed bug 2121 - GCC throws error on SDL_FORCE_INLINE when compiling with -ansi
This commit is contained in:
parent
76f3df86db
commit
414ff3106c
5 changed files with 23 additions and 19 deletions
|
@ -73,9 +73,9 @@ SDL_GetPrefPath(const char *org, const char *app)
|
|||
NSArray *array = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
|
||||
char *retval = NULL;
|
||||
|
||||
(void) org; // unused on Mac OS X and iOS.
|
||||
(void) org; /* unused on Mac OS X and iOS. */
|
||||
|
||||
if ([array count] > 0) { // we only want the first item in the list.
|
||||
if ([array count] > 0) { /* we only want the first item in the list. */
|
||||
NSString *str = [array objectAtIndex:0];
|
||||
const char *base = [str UTF8String];
|
||||
if (base) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue