OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user