OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -162,7 +162,7 @@ Exceptions::set_error_handler (error_handler_t error_handler)
|
||||
void
|
||||
Exceptions::error (const char *message, error_type_t error_type)
|
||||
{
|
||||
unsigned int bufferlen = 100;
|
||||
const unsigned int bufferlen = 100;
|
||||
char buffer[3][bufferlen];
|
||||
static char *lines[3] = { buffer[0], buffer[1], buffer[2] };
|
||||
int len, count = 0;
|
||||
|
||||
Reference in New Issue
Block a user