From 8bd9493d554a20fd56ecded8c5ea503f031ddf30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 10 Sep 2008 20:29:50 +0000 Subject: [PATCH] "_IMPORT" was not defined, but most (all?) BeOS software that could be compiled for PPC would give compiler errors if this is not defined (to nothing). For the MetroWerks compiler, one needed to explicitely import/export classes and methods, but GCC does not need it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27405 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/BeBuild.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/os/BeBuild.h b/headers/os/BeBuild.h index 71d49f8884..1fb4a765fd 100644 --- a/headers/os/BeBuild.h +++ b/headers/os/BeBuild.h @@ -21,11 +21,13 @@ # define _PRINTFLIKE(_format_, _args_) \ __attribute__((format(__printf__, _format_, _args_))) # define _EXPORT +# define _IMPORT #else # define _UNUSED(argument) argument # error Define _PACKED for your compiler # define _PRINTFLIKE(format, args) # define _EXPORT +# define _IMPORT #endif #endif /* _BE_BUILD_H */