"_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
This commit is contained in:
Stephan Aßmus
2008-09-10 20:29:50 +00:00
parent cb387cfb2f
commit 8bd9493d55
+2
View File
@@ -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 */