mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote,edwsmith)
Issues with prior patch not compiling with tamarin due to missing vtable, so make sure printf isn't available unless verbose is enabled. --HG-- extra : convert_revision : 147e02ce8790c9e09f4c91b29b1bcc5d16862ee1
This commit is contained in:
parent
3a4a3d6046
commit
4634603bd4
@ -260,7 +260,10 @@ namespace nanojit {
|
||||
public:
|
||||
// All Nanojit and jstracer printing should be routed through
|
||||
// this function.
|
||||
virtual ~LogControl() {}
|
||||
#ifdef NJ_VERBOSE
|
||||
virtual void printf( const char* format, ... ) PRINTF_CHECK(2,3);
|
||||
#endif
|
||||
|
||||
// An OR of LC_Bits values, indicating what should be output
|
||||
uint32_t lcbits;
|
||||
|
Loading…
Reference in New Issue
Block a user