diff 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
line wrap: on
line diff
--- a/include/begin_code.h	Tue Feb 17 05:25:25 2009 +0000
+++ b/include/begin_code.h	Tue Mar 17 03:58:53 2009 +0000
@@ -33,7 +33,7 @@
 
 /* Some compilers use a special export keyword */
 #ifndef DECLSPEC
-# if defined(__BEOS__)
+# if defined(__BEOS__) || defined(__HAIKU__)
 #  if defined(__GNUC__)
 #   define DECLSPEC	__declspec(dllexport)
 #  else