forked from bartvdbraak/blender
80d1d624d3
This is mainly to address old issue when one need to have SDL library installed in order to use our official builds. Some hip distros already installs SDL, but it's not quite the same across all the variety of the distros. We also now switching to SDL-2.0, most of the distros have it in repositories already, so it shouldn't be huge deal to install it if needed. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D878
32 lines
587 B
C
32 lines
587 B
C
|
|
#ifndef _SDL_loadso_h
|
|
#define _SDL_loadso_h
|
|
|
|
#include "SDL_stdinc.h"
|
|
#include "SDL_error.h"
|
|
|
|
#include "begin_code.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void * SDLCALL tSDL_LoadObject(const char *sofile);
|
|
|
|
typedef void * SDLCALL tSDL_LoadFunction(void *handle,
|
|
const char *name);
|
|
|
|
typedef void SDLCALL tSDL_UnloadObject(void *handle);
|
|
|
|
extern tSDL_LoadObject *SDL_LoadObject;
|
|
extern tSDL_LoadFunction *SDL_LoadFunction;
|
|
extern tSDL_UnloadObject *SDL_UnloadObject;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#include "close_code.h"
|
|
|
|
#endif
|
|
|