#ifndef _CONFIG_H_
#define _CONFIG_H_
/*
  Vrml 97 library
  Copyright (C) 1998 Chris Morley

  config.h
*/

#define LIBVRML_MAJOR_VERSION	0
#define LIBVRML_MINOR_VERSION	8
#define LIBVRML_MICRO_VERSION	0

/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif


#ifdef  __cplusplus

#ifdef _WIN32

#include <fstream>
#include <iostream>
#include <list>
#include <vector>

using namespace std;

// Disable warning messages about truncation from const double to float
# pragma warning( disable : 4305 )  
// Disable warning messages about truncating names in debug info
# pragma warning( disable : 4786 )  

static const char SLASH = '\\';

#else

#include <awFStream.h>
#include <awIOStream.h>
#include <list.h>
#include <vector.h>

static const char SLASH = '/';

#endif
#endif	/* __cplusplus */

static const char COLON = ':';

/* Make sure that PI and friends are defined.  This is needed under 
   platforms that are not directly BSD derived (even under GNU libc
   this is not included by default).
*/
#ifndef M_PI
#define M_PI            3.14159265358979323846  /* pi */
#endif

#ifndef M_PI_2
#define M_PI_2          1.57079632679489661923  /* pi/2 */
#endif

#ifndef M_PI_4
#define M_PI_4          0.78539816339744830962  /* pi/4 */
#endif

#ifndef M_1_PI
#define M_1_PI          0.31830988618379067154  /* 1/pi */
#endif


/* General feature configuration */
#define HAVE_LIBJPEG	1
#define HAVE_LIBPNG	1
#define HAVE_GL		1
#define HAVE_GLUT	1
#define HAVE_XT		1
#define HAVE_XM		1
#define HAVE_GTK	0
#define HAVE_JAVASCRIPT	1
#define HAVE_JDK	0
#define HAVE_HOOPS	0
#define HAVE_SOUND	0
#define HAVE_ESD	0

/* General Compiler Capabilities */
#define HAVE_CONST_CAST		    0
#define HAVE_NATIVE_BOOL	    0
#define HAVE_PARTIAL_SPECIALIZATION 0
#define HAVE_MEMBER_TEMPLATES	    0
#define HAVE_NO_STATIC_TEMPLATES    0
#define HAVE_VOID_RETURN_TYPE	    0


#endif	/* _CONFIG_H_ */

