Fixed linker error when building from the command line on Mac OS X
authorSam Lantinga <slouken@libsdl.org>
Mon, 10 May 2010 21:26:13 -0700
changeset 250692379215a48
parent 249 8271062b627a
child 251 a6565b353095
Fixed linker error when building from the command line on Mac OS X
IMG_tga.c
     1.1 --- a/IMG_tga.c	Thu Apr 08 23:57:56 2010 -0700
     1.2 +++ b/IMG_tga.c	Mon May 10 21:26:13 2010 -0700
     1.3 @@ -20,6 +20,8 @@
     1.4      slouken@libsdl.org
     1.5  */
     1.6  
     1.7 +#if !defined(__APPLE__) || defined(SDL_IMAGE_USE_COMMON_BACKEND)
     1.8 +
     1.9  #include <stdlib.h>
    1.10  #include <stdio.h>
    1.11  #include <string.h>
    1.12 @@ -329,3 +331,5 @@
    1.13  }
    1.14  
    1.15  #endif /* LOAD_TGA */
    1.16 +
    1.17 +#endif /* !defined(__APPLE__) || defined(SDL_IMAGE_USE_COMMON_BACKEND) */