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.. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34272 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a1fb0cb3ed
commit
318cb33fbf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user