OpenIndiana and Solaris port

This commit is contained in:
Ulrich Wilkens
2014-10-28 19:46:43 +01:00
committed by Jon Trulson
parent 42e891d9e7
commit 01d6c363fa
296 changed files with 1049 additions and 1091 deletions

View File

@@ -248,7 +248,8 @@ DocParser::process(istream &input, ostringstream &output,
!defined(__uxp__) && \
!defined(USL) && \
!defined(linux) && \
!defined(CSRG_BASED)
!defined(CSRG_BASED) && \
!defined(sun)
volatile
#endif
AttributeList *attrs = 0;
@@ -258,7 +259,8 @@ DocParser::process(istream &input, ostringstream &output,
!defined(__uxp__) && \
!defined(USL) && \
!defined(linux) && \
!defined(CSRG_BASED)
!defined(CSRG_BASED) && \
!defined(sun)
volatile
#endif
AttributeList *olias_attrs = 0;

View File

@@ -141,15 +141,21 @@ BinaryOperatorNode::evaluate() const
{
// calculate children trees and then have feature value do the operation
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
!defined(__osf__) && !defined(USL) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *left = 0;
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
!defined(__osf__) && !defined(USL) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *right = 0;
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(SC3) && !defined(_IBMR2) && !defined(__uxp__) && \
!defined(__osf__) && !defined(USL) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
volatile
#endif
FeatureValue *result = 0;

View File

@@ -44,21 +44,21 @@
class StyleSheetException : public Exception
{
public:
DECLARE_EXCEPTION(StyleSheetException, Exception);
DECLARE_EXCEPTION(StyleSheetException, Exception)
virtual ~StyleSheetException();
};
class StyleSheetSyntaxError : public StyleSheetException
{
public:
DECLARE_EXCEPTION(StyleSheetSyntaxError, StyleSheetException);
DECLARE_EXCEPTION(StyleSheetSyntaxError, StyleSheetException)
};
class badEvaluationException : public StyleSheetException
{
public:
DECLARE_EXCEPTION(badEvaluationException, StyleSheetException);
DECLARE_EXCEPTION(badEvaluationException, StyleSheetException)
virtual ~badEvaluationException();
};
@@ -66,13 +66,13 @@ public:
class badCastException : public StyleSheetException
{
public:
DECLARE_EXCEPTION(badCastException, StyleSheetException);
DECLARE_EXCEPTION(badCastException, StyleSheetException)
};
class undefinedVariableException : public badEvaluationException
{
public:
DECLARE_EXCEPTION(undefinedVariableException, badEvaluationException);
DECLARE_EXCEPTION(undefinedVariableException, badEvaluationException)
undefinedVariableException(const Symbol &v)
: badEvaluationException(),
@@ -87,7 +87,7 @@ private:
class undefinedAttributeException : public badEvaluationException
{
public:
DECLARE_EXCEPTION(undefinedAttributeException, badEvaluationException);
DECLARE_EXCEPTION(undefinedAttributeException, badEvaluationException)
undefinedAttributeException(const Symbol &a)
: badEvaluationException(),
@@ -101,38 +101,38 @@ private:
class docParserException : public Exception
{
public:
DECLARE_EXCEPTION(docParserException, Exception);
DECLARE_EXCEPTION(docParserException, Exception)
};
class unknownTagException : public docParserException
{
public:
DECLARE_EXCEPTION(unknownTagException, docParserException);
DECLARE_EXCEPTION(unknownTagException, docParserException)
};
class docParserUnexpectedCharacter : public docParserException
{
public:
DECLARE_EXCEPTION(docParserUnexpectedCharacter, docParserException);
DECLARE_EXCEPTION(docParserUnexpectedCharacter, docParserException)
};
class docParserUnexpectedTag : public docParserException
{
public:
DECLARE_EXCEPTION(docParserUnexpectedTag, docParserException);
DECLARE_EXCEPTION(docParserUnexpectedTag, docParserException)
};
class docParserUnexpectedData : public docParserException
{
public:
DECLARE_EXCEPTION(docParserUnexpectedData, docParserException);
DECLARE_EXCEPTION(docParserUnexpectedData, docParserException)
};
class docParserUnexpectedEof : public docParserException
{
public:
DECLARE_EXCEPTION(docParserUnexpectedEof, docParserException);
DECLARE_EXCEPTION(docParserUnexpectedEof, docParserException)
};

View File

@@ -43,7 +43,8 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif

View File

@@ -43,7 +43,8 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(USL) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(__osf__) && !defined(USL) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif