This patch is an attempt to fix a compilation problem that occurs with "progsreiserfs" 0.3.1-rc8. --- progsreiserfs-0.3.1-rc8.old/include/reiserfs/debug.h +++ progsreiserfs-0.3.1-rc8/include/reiserfs/debug.h @@ -48,8 +48,13 @@ #endif +#ifdef ASSERT +#undef ASSERT +#endif + +#define ASSERT(cond, action) if (cond) { action; } + extern int libreiserfs_assert(int cond, char *cond_text, char *file, int line, char *function); #endif -