added some white space to fix preprocessor weirdness, ## was causing
__FUNCTION__ to disappear instead of the comma?
This commit is contained in:
parent
751c68705c
commit
e31f607b2e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
#define debug_ptr(a) if(!(a))fprintf(stderr," ** NULL pointer: " __FILE__ ", line %d\n",__LINE__);
|
||||
#define debug_int(a) if((a)<0)fprintf(stderr," ** error: " __FILE__ ", line %d\n",__LINE__);
|
||||
|
||||
#define COMEDILIB_DEBUG(level,format,args...) do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__, ## args);}while(0)
|
||||
#define COMEDILIB_DEBUG(level,format,args...) do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__ , ##args);}while(0)
|
||||
|
||||
#define COMEDI_VERSION_CODE(a,b,c) (((a)<<16) | ((b)<<8) | (c))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue