* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#ifndef _BOOLEAN_
#define _BOOLEAN_
-#if (defined(sun) && OSMAJORVERSION <= 5 && OSMINORVERSION <= 3)|| defined(USL) || defined(__uxp__)
+#if (defined(sun) && OSMAJORVERSION <= 5 && OSMINORVERSION <= 3)
#include <sys/types.h>
#define boolean boolean_t
#define true B_TRUE
#define false B_FALSE
-#elif defined(linux)
+#elif defined(sun)
+ #include <sys/types.h>
+ #define boolean boolean_t
+#if defined(__XOPEN_OR_POSIX)
+ #define true _B_TRUE
+ #define false _B_FALSE
+#else
+ #define true B_TRUE
+ #define false B_FALSE
+#endif
+#elif defined(__linux__)
#define false 0
#define true 1
#define boolean int
// Dumps object to stdout
void Dump(boolean verbose = false,
int level = 0);
- // Dumps object heirarchy to stdout
+ // Dumps object hierarchy to stdout
void DumpHierarchy(boolean verbose = false,
int level = 0);