Fixed warnings when building something for BeOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-10-26 12:53:25 +00:00
parent c657332910
commit 662e5c8ce4
2 changed files with 9 additions and 7 deletions

View File

@ -52,13 +52,15 @@ typedef int socklen_t;
__attribute__((format(__printf__, _format_, _args_)))
#endif
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
// BeOS version of BeBuild.h defines this
#define _IMPEXP_ROOT __declspec(dllimport)
#define _IMPEXP_BE __declspec(dllimport)
#define _IMPEXP_MEDIA __declspec(dllimport)
#define _IMPEXP_TRACKER __declspec(dllimport)
#define _IMPEXP_TRANSLATION __declspec(dllimport)
#define _IMPEXP_DEVICE __declspec(dllimport)
# define _IMPEXP_ROOT __declspec(dllimport)
# define _IMPEXP_BE __declspec(dllimport)
# define _IMPEXP_MEDIA __declspec(dllimport)
# define _IMPEXP_TRACKER __declspec(dllimport)
# define _IMPEXP_TRANSLATION __declspec(dllimport)
# define _IMPEXP_DEVICE __declspec(dllimport)
#endif
#ifdef __cplusplus
class BBuffer;

View File

@ -48,7 +48,7 @@ All rights reserved.
#include <GraphicsDefs.h>
#if B_BEOS_VERSION <= B_BEOS_VERSION_MAUI
#if B_BEOS_VERSION <= B_BEOS_VERSION_5
namespace BExperimental {