// ================================================================
// $Id: config.h,v 1.2 2003/10/30 16:36:35 havran Exp $
//
// config.h
//      Global configuration things for implementation files.
//
// This file must be as first included into each sourcefile.cpp !!!!!!!!!
//
// Licence and usage conditions in November 2003:
// This file can be used and modified only with written permission of
// Vlastimil Havran, Pohodli 27, 57001 Litomysl, the Czech Republic.
// This library is granted to be used by Polina Kondratieva within
// her MPI HIWI job working on BRDFLIB library. The usage condition
// may change in the next version of the library. At the moment,
// the library development is supported by Max-Planck-Institut for
// Informatik, Stuhlsatzenhausweg 85, 66123 Saarbruecken Germany
// See WWW: http://www.mpi-sb.mpg.de
// REPLACEMENT_STRING
//
// Initial coding by Vlastimil Havran, 2001.
//
// Given to BRDFLIB project for the Polina Kondratieva's
// HIWI JOB assignment in November 2003.

#ifndef __CONFIGG_H__
#define __CONFIGG_H__

// This file is intended for global definitions across the whole library,
// which influences the compilation a great deal.
#include <iostream>
#include <string.h>
#include <cstring>

using namespace std;

#ifdef _MSC_VER
// disable some Microsoft Visual Compiler warnings if necessary
#pragma warning( disable:4305 )
#pragma warning( disable:4786 )
#pragma warning( disable:4800 )
#endif

#ifndef USE_BRDFLIB_NAMESPACE
// without namespaces
#define  __BEGIN_BRDFLIB_SOURCE
#define  __END_BRDFLIB_SOURCE
#else
// with namespace 
#define NAMESPACEDEF     BRDFLIBLIB
// use of namespace commands inside the library sources
#define  __BEGIN_BRDFLIB_SOURCE namespace NAMESPACEDEF { using namespace NAMESPACEDEF;
#define  __END_BRDFLIB_SOURCE   }
#endif

// For MS Windows/UNIX
#define DIRCAT 92

#endif // __CONFIGG_H__

