mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
more fixes for mutexes in shell
This commit is contained in:
parent
e603bc1ea1
commit
1827f98851
9 changed files with 25 additions and 63 deletions
|
@ -17,13 +17,8 @@ Revision History:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef TRACE_H_
|
||||
#define TRACE_H_
|
||||
#pragma once
|
||||
|
||||
#ifdef _CYGWIN
|
||||
#undef max
|
||||
#undef min
|
||||
#endif
|
||||
#include<fstream>
|
||||
|
||||
#ifdef _TRACE
|
||||
|
@ -58,5 +53,3 @@ static inline void finalize_trace() {}
|
|||
#define STRACE(TAG, CODE) TRACE_CODE(if (is_trace_enabled(TAG)) { CODE tout.flush(); })
|
||||
|
||||
#define CTRACE(TAG, COND, CODE) TRACE_CODE(if (is_trace_enabled(TAG) && (COND)) { tout << "-------- [" << TAG << "] " << __FUNCTION__ << " " << __FILE__ << ":" << __LINE__ << " ---------\n"; CODE tout << "------------------------------------------------\n"; tout.flush(); })
|
||||
|
||||
#endif /* TRACE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue