summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:04:09 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:04:09 +0000
commitf52e28968f4f9d782b9f98f25b10e1cafbee0b11 (patch)
tree627352ffcdfa3149bf8213b5707c8ffb43546b01 /xdelta3/xdelta3.h
parentca6951c05772975cff7d67dba745c3bc33e71252 (diff)
Rename #define P to #define DP
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index 4aa9613..67a4cac 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -190,8 +190,8 @@ typedef uint32_t xoff_t;
190#endif 190#endif
191 191
192/* XPRINT. Debug output and VCDIFF_TOOLS functions report to stderr. I have used an 192/* XPRINT. Debug output and VCDIFF_TOOLS functions report to stderr. I have used an
193 * irregular style to abbreviate [fprintf(stderr, "] as [P(RINT "]. */ 193 * irregular style to abbreviate [fprintf(stderr, "] as [DP(RINT "]. */
194#define P fprintf 194#define DP fprintf
195#define RINT stderr, 195#define RINT stderr,
196 196
197typedef struct _xd3_stream xd3_stream; 197typedef struct _xd3_stream xd3_stream;
@@ -243,7 +243,7 @@ typedef int (xd3_comp_table_func) (xd3_stream *stream,
243#ifndef XD3_ASSERT 243#ifndef XD3_ASSERT
244#if XD3_DEBUG 244#if XD3_DEBUG
245#define XD3_ASSERT(x) \ 245#define XD3_ASSERT(x) \
246 do { if (! (x)) { P(RINT "%s:%d: XD3 assertion failed: %s\n", __FILE__, __LINE__, #x); \ 246 do { if (! (x)) { DP(RINT "%s:%d: XD3 assertion failed: %s\n", __FILE__, __LINE__, #x); \
247 abort (); } } while (0) 247 abort (); } } while (0)
248#else 248#else
249#define XD3_ASSERT(x) (void)0 249#define XD3_ASSERT(x) (void)0