mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
give proper credits for DEBUG(x) macro, I got it from http://stackoverflow.com/a/14256296 (http://stackoverflow.com/questions/14251038/debug-macros-in-c)
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@790 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
3ec2a602c2
commit
aba94872fa
@ -13,7 +13,7 @@
|
|||||||
/* uncomment next line to enable debug output */
|
/* uncomment next line to enable debug output */
|
||||||
#define EIGER_DEBUG
|
#define EIGER_DEBUG
|
||||||
|
|
||||||
/* macro for debug output */
|
/* macro for debug output http://stackoverflow.com/a/14256296 */
|
||||||
#ifdef EIGER_DEBUG
|
#ifdef EIGER_DEBUG
|
||||||
#define DEBUG(x) do { std::cerr << x << std::endl; } while (0)
|
#define DEBUG(x) do { std::cerr << x << std::endl; } while (0)
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user