Added SDL_DEPRECATED #define.
--HG-- extra : rebase_source : 865047af634b49c9f5101656e1055d0278720633
This commit is contained in:
parent
8a69509af3
commit
5b99be4382
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,14 @@
|
||||||
#endif
|
#endif
|
||||||
#define _begin_code_h
|
#define _begin_code_h
|
||||||
|
|
||||||
|
#ifndef SDL_DEPRECATED
|
||||||
|
# if (__GNUC__ >= 4) /* technically, this arrived in gcc 3.1, but oh well. */
|
||||||
|
# define SDL_DEPRECATED __attribute__((deprecated))
|
||||||
|
# else
|
||||||
|
# define SDL_DEPRECATED
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Some compilers use a special export keyword */
|
/* Some compilers use a special export keyword */
|
||||||
#ifndef DECLSPEC
|
#ifndef DECLSPEC
|
||||||
# if defined(__WIN32__)
|
# if defined(__WIN32__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue