Ignore:
Timestamp:
Aug 3, 2012, 1:33:16 PM (8 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/sample.cpp

    r1513 r1691  
    1818
    1919#if defined USE_SDL_MIXER
    20 #   include <SDL.h>
    21 #   include <SDL_mixer.h>
     20#   if defined HAVE_SDL_SDL_H
     21#      include <SDL/SDL.h>
     22#   else
     23#      include <SDL.h>
     24#   endif
     25#   if defined HAVE_SDL_SDL_MIXER_H
     26#      include <SDL/SDL_mixer.h>
     27#   else
     28#      include <SDL_mixer.h>
     29#   endif
    2230#endif
    2331
Note: See TracChangeset for help on using the changeset viewer.