comparison include/begin_code.h @ 3292:245a7d79577c

Fixed bug #615 Scott McCreary 2008-08-21 10:48:14 PDT This patch adds support for Haiku. http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff Haiku is an open-source recreation of BeOS. It has better POSIX compliance than beOS did, and other improved features, which in some cases causes us to have to "undo" previous BeOS workarounds. Here's our port log entry for it, showing the steps to force the changes into configure and Makefile: http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1 Note that this was only tried on 1.2.13 stable so far. Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in the released libtool, so we are having to copy it in for now. http://haiku-files.org/files/optional-packages/
author Sam Lantinga <slouken@libsdl.org>
date Mon, 21 Sep 2009 09:21:00 +0000
parents a67a961e2171
children d3baf5ac4e37
comparison
equal deleted inserted replaced
3291:b273b2a8a1ea 3292:245a7d79577c
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