include/begin_code.h
branchSDL-1.2
changeset 4164 7a4c511c980a
parent 4159 a1b03ba2fcd0
child 4193 430e6690c4cd
equal deleted inserted replaced
4163:bec67d0b6645 4164:7a4c511c980a
    31 #endif
    31 #endif
    32 #define _begin_code_h
    32 #define _begin_code_h
    33 
    33 
    34 /* Some compilers use a special export keyword */
    34 /* Some compilers use a special export keyword */
    35 #ifndef DECLSPEC
    35 #ifndef DECLSPEC
    36 # if defined(__BEOS__)
    36 # if defined(__BEOS__) || defined(__HAIKU__)
    37 #  if defined(__GNUC__)
    37 #  if defined(__GNUC__)
    38 #   define DECLSPEC	__declspec(dllexport)
    38 #   define DECLSPEC	__declspec(dllexport)
    39 #  else
    39 #  else
    40 #   define DECLSPEC	__declspec(export)
    40 #   define DECLSPEC	__declspec(export)
    41 #  endif
    41 #  endif