Author: bonefish Date: 2009-11-26 11:20:42 +0100 (Thu, 26 Nov 2009) New Revision: 34272 Changeset: http://dev.haiku-os.org/changeset/34272/haiku Modified: haiku/trunk/headers/private/fs_shell/fssh_api_wrapper.h Log: Undefine B_HAIKU_{32,64}_BIT macros before defining them. Fixes warning when building on Haiku, since those will be defined already -- by way of the host platform's <BeBuild.h>, which currently is included by the POSIX headers.. Modified: haiku/trunk/headers/private/fs_shell/fssh_api_wrapper.h =================================================================== --- haiku/trunk/headers/private/fs_shell/fssh_api_wrapper.h 2009-11-26 10:18:13 UTC (rev 34271) +++ haiku/trunk/headers/private/fs_shell/fssh_api_wrapper.h 2009-11-26 10:20:42 UTC (rev 34272) @@ -5,6 +5,7 @@ #ifndef _FSSH_API_WRAPPER_H #define _FSSH_API_WRAPPER_H + #include <stdlib.h> #include "fssh_dirent.h" @@ -128,6 +129,8 @@ // #pragma mark - fssh_defs.h // 32/64 bitness +#undef B_HAIKU_32_BIT +#undef B_HAIKU_64_BIT #ifdef FSSH_B_HAIKU_64_BIT # define B_HAIKU_64_BIT FSSH_B_HAIKU_64_BIT #endif