OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -80,7 +80,7 @@ Destructable::~Destructable()
|
||||
inline void
|
||||
Destructable::destruct()
|
||||
{
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
delete this;
|
||||
#else
|
||||
// Have to call this here since some compilers don't allow
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -23,9 +23,9 @@ XCOMM .../programs/dtinfo/mmdb/<subdir>/Imakefile
|
||||
#define LargePICTable YES
|
||||
|
||||
#define CplusplusSource YES
|
||||
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
|
||||
DEPEND_DEFINES = $(DEPENDDEFINES)
|
||||
|
||||
#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
|
||||
#if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 5
|
||||
EXCEPTION_DEFINES = -DHAS_TERMINATE
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user