add FLUID_DEPRECATED

This commit is contained in:
derselbst 2017-10-19 22:41:13 +02:00
parent 7e2ea5c85d
commit e59c4e77ab

View file

@ -46,6 +46,15 @@ extern "C" {
#endif
#if defined(__GNUC__) || defined(__clang__)
# define FLUID_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
# define FLUID_DEPRECATED __declspec(deprecated)
#else
# define FLUID_DEPRECATED
#endif
/**
* @file fluidsynth.h
* @brief FluidSynth is a real-time synthesizer designed for SoundFont(R) files.