include/begin_code.h
changeset 7665 4c0a6cfe27a0
parent 7657 7a8955fe2f63
child 7771 4434498bf4b9
equal deleted inserted replaced
7664:6995a81e065a 7665:4c0a6cfe27a0
    30 /* This shouldn't be nested -- included it around code only. */
    30 /* This shouldn't be nested -- included it around code only. */
    31 #ifdef _begin_code_h
    31 #ifdef _begin_code_h
    32 #error Nested inclusion of begin_code.h
    32 #error Nested inclusion of begin_code.h
    33 #endif
    33 #endif
    34 #define _begin_code_h
    34 #define _begin_code_h
       
    35 
       
    36 #ifndef SDL_DEPRECATED
       
    37 #  if (__GNUC__ >= 4)  /* technically, this arrived in gcc 3.1, but oh well. */
       
    38 #    define SDL_DEPRECATED __attribute__((deprecated))
       
    39 #  else
       
    40 #    define SDL_DEPRECATED
       
    41 #  endif
       
    42 #endif
    35 
    43 
    36 /* Some compilers use a special export keyword */
    44 /* Some compilers use a special export keyword */
    37 #ifndef DECLSPEC
    45 #ifndef DECLSPEC
    38 # if defined(__WIN32__)
    46 # if defined(__WIN32__)
    39 #  ifdef __BORLANDC__
    47 #  ifdef __BORLANDC__