Skip to content

Commit

Permalink
Patched to compile on Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 14, 2007
1 parent 1a6f178 commit a600edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/unix.c
Expand Up @@ -330,7 +330,7 @@ void __PHYSFS_platformTimeslice(void)
} /* __PHYSFS_platformTimeslice */


#if PHYSFS_PLATFORM_MACOSX
#ifdef PHYSFS_PLATFORM_MACOSX
/*
* This function is only for OSX. The problem is that Apple's applications
* can actually be directory structures with the actual executable nested
Expand Down Expand Up @@ -442,7 +442,7 @@ char *__PHYSFS_platformRealPath(const char *path)
BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
strcpy(retval, resolved_path);

#if defined(__MACH__) && defined(__APPLE__)
#ifdef PHYSFS_PLATFORM_MACOSX
stripAppleBundle(retval);
#endif /* defined __MACH__ && defined __APPLE__ */

Expand Down

0 comments on commit a600edf

Please sign in to comment.