Undefine macros defined under BeOS before redefining them.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20933 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -150,11 +150,13 @@
|
||||
#define B_DIRECTORY_NODE FSSH_B_DIRECTORY_NODE
|
||||
#define B_ANY_NODE FSSH_B_ANY_NODE
|
||||
|
||||
#undef offsetof
|
||||
#define offsetof(type,member) fssh_offsetof(type,member)
|
||||
|
||||
#define min_c(a,b) fssh_min_c(a,b)
|
||||
#define max_c(a,b) fssh_max_c(a,b)
|
||||
|
||||
#undef _PACKED
|
||||
#define _PACKED _FSSH_PACKED
|
||||
|
||||
|
||||
@@ -1267,6 +1269,10 @@
|
||||
#define suseconds_t fssh_suseconds_t
|
||||
#define useconds_t fssh_useconds_t
|
||||
|
||||
#undef CLOCKS_PER_SEC
|
||||
#undef CLK_TCK
|
||||
#undef MAX_TIMESTR
|
||||
|
||||
#define CLOCKS_PER_SEC FSSH_CLOCKS_PER_SEC
|
||||
#define CLK_TCK FSSH_CLK_TCK
|
||||
#define MAX_TIMESTR FSSH_MAX_TIMESTR
|
||||
|
||||
Reference in New Issue
Block a user