Mercurial > sdl-ios-xcode
comparison include/begin_code.h @ 4164:7a4c511c980a SDL-1.2
Date: Fri, 6 Mar 2009 12:41:17 -0800
From: scott mc
Subject: Re: [SDL] patch for building on haiku
Ok. I've combined the various Haiku patches for the SDL-1.2 branch
into one .diff file
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 17 Mar 2009 03:58:53 +0000 |
parents | a1b03ba2fcd0 |
children | 430e6690c4cd |
comparison
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 |