This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
7
unikernel/duniverse/cppo/examples/debug.ml
Normal file
7
unikernel/duniverse/cppo/examples/debug.ml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef DEBUG
|
||||
#define debug(s) Printf.eprintf "[%S %i] %s\n%!" __FILE__ __LINE__ s
|
||||
#else
|
||||
#define debug(s) ()
|
||||
#endif
|
||||
|
||||
debug("test")
|
||||
Loading…
Add table
Add a link
Reference in a new issue