Build fix, at least for building on Linux. The host stdio.h has a different dprintf definition than BeOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18980 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2006-09-29 16:35:33 +00:00
parent b83fe28463
commit 50b6109c5f
2 changed files with 16 additions and 4 deletions
@@ -32,9 +32,15 @@
#include "PartitionMap.h"
//#define TRACE(x) ;
#define TRACE(x) dprintf x
#define TRACE_ENABLED
#ifdef TRACE_ENABLED
# ifdef _USER_MODE
# define TRACE(x) printf x
# else
# define TRACE(x) dprintf x
# endif
#endif
using std::nothrow;
@@ -21,9 +21,15 @@
#include "PartitionMap.h"
#include "PartitionMapParser.h"
//#define TRACE(x) ;
#define TRACE(x) dprintf x
#define TRACE_ENABLED
#ifdef TRACE_ENABLED
# ifdef _USER_MODE
# define TRACE(x) printf x
# else
# define TRACE(x) dprintf x
# endif
#endif
using std::nothrow;