Ignore:
Timestamp:
Aug 3, 2012, 1:33:16 PM (7 years ago)
Author:
sam
Message:

build: tweak everything to allow building with SDL on the Raspberry Pi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/audio.cpp

    r1513 r1691  
    1414
    1515#if defined USE_SDL_MIXER
    16 #   include <SDL.h>
    17 #   include <SDL_mixer.h>
     16#   if defined HAVE_SDL_SDL_H
     17#      include <SDL/SDL.h>
     18#   else
     19#      include <SDL.h>
     20#   endif
     21#   if defined HAVE_SDL_SDL_MIXER_H
     22#      include <SDL/SDL_mixer.h>
     23#   else
     24#      include <SDL_mixer.h>
     25#   endif
    1826#endif
    1927
Note: See TracChangeset for help on using the changeset viewer.