From 318cb33fbf59790644e3b6e064a4594d0f39263f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 26 Nov 2009 10:20:42 +0000 Subject: [PATCH] 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 , which currently is included by the POSIX headers.. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34272 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/fs_shell/fssh_api_wrapper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/fs_shell/fssh_api_wrapper.h b/headers/private/fs_shell/fssh_api_wrapper.h index ea5f577116..049d57498a 100644 --- a/headers/private/fs_shell/fssh_api_wrapper.h +++ b/headers/private/fs_shell/fssh_api_wrapper.h @@ -5,6 +5,7 @@ #ifndef _FSSH_API_WRAPPER_H #define _FSSH_API_WRAPPER_H + #include #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