/* Include the appropriate SDL headers based on which version we're building. */ #ifndef SDL_JZINTV_H_ # define SDL_JZINTV_H_ 1 # if !defined(USE_SDL) # error "sdl_jzintv.h must be #included after config.h" # endif # if USE_SDL == 0 # error "sdl_jzintv.h included in a non-SDL dependent source file." # elif USE_SDL == 1 # include # include # include # include # if defined(__EMSCRIPTEN__) # include # endif # include # elif USE_SDL == 2 # include # include # include # include # include # include # else /* No SDL or unknown SDL */ /* We should only set USE_SDL on files in SDL1_OBJS and SDL2_OBJS. */ # error "Unknown SDL version." # endif #endif /* SDL_JZINTV_H_ */