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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user