Skip to content

Commit

Permalink
Fixed linker error when building from the command line on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 11, 2010
1 parent aa68c6e commit b3748e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IMG_tga.c
Expand Up @@ -20,6 +20,8 @@
slouken@libsdl.org
*/

#if !defined(__APPLE__) || defined(SDL_IMAGE_USE_COMMON_BACKEND)

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Expand Down Expand Up @@ -329,3 +331,5 @@ SDL_Surface *IMG_LoadTGA_RW(SDL_RWops *src)
}

#endif /* LOAD_TGA */

#endif /* !defined(__APPLE__) || defined(SDL_IMAGE_USE_COMMON_BACKEND) */

0 comments on commit b3748e4

Please sign in to comment.