netgen/libsrc/include/mydefs.hpp
2016-12-11 12:12:05 +01:00

57 lines
1.0 KiB
C++

#ifndef FILE_MYDEFS
#define FILE_MYDEFS
/**************************************************************************/
/* File: mydefs.hh */
/* Author: Joachim Schoeberl */
/* Date: 10. Mar. 98 */
/**************************************************************************/
/*
defines for graphics, testmodes, ...
*/
// #define DEBUG
#ifdef WIN32
#if NGINTERFACE_EXPORTS || NGLIB_EXPORTS || nglib_EXPORTS
#define DLL_HEADER __declspec(dllexport)
#else
#define DLL_HEADER __declspec(dllimport)
#endif
#else
#define DLL_HEADER
#endif
#ifndef __assume
#ifdef __GNUC__
#define __assume(cond) if (!(cond)) __builtin_unreachable(); else;
#else
#define __assume(cond)
#endif
#endif
// #define BASE0
// #define DEBUG
#define noDEMOVERSION
#define noDEVELOP
#define noSTEP
#define noSOLIDGEOM
#define noDEMOAPP
#define noMODELLER
#define noSTAT_STREAM
#define noLOG_STREAM
#endif