diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-10-29 17:30:34 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-10-29 17:30:34 +0400 |
commit | bd9ac7d6ec4a564ebdf57868068aa53aba9e2d0b (patch) | |
tree | 41d3cbfeafb6260e7e127affb37f795a0fa72b88 /source | |
parent | 3d815c3cf6d2d926315b0b1e623ea008f97ad90d (diff) |
Added an #ifndef PRINT
to get rid of this: "../../blenlib/BLI_blenlib.h", line 332: warning: macro redefined: PRINT
I know pathetic but hey...
Kent
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 49d885e5b30..2e2dda5ef95 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -329,10 +329,13 @@ void BLI_setScanFillObjectRef(void* ob); void BLI_setScanFillColourRef(char* c); #define PRNTSUB(type,arg) printf(#arg ": %" #type " ", arg) + +#ifndef PRINT #define PRINT(t,v) {PRNTSUB(t,v); printf("\n");} #define PRINT2(t1,v1,t2,v2) {PRNTSUB(t1,v1); PRNTSUB(t2,v2); printf("\n");} #define PRINT3(t1,v1,t2,v2,t3,v3) {PRNTSUB(t1,v1); PRNTSUB(t2,v2); PRNTSUB(t3,v3); printf("\n");} #define PRINT4(t1,v1,t2,v2,t3,v3,t4,v4) {PRNTSUB(t1,v1); PRNTSUB(t2,v2); PRNTSUB(t3,v3); PRNTSUB(t4,v4); printf("\n");} +#endif /** * @param array The array in question |