mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
66 lines
1.2 KiB
C++
66 lines
1.2 KiB
C++
#ifndef FILE_MYDEFS
|
|
#define FILE_MYDEFS
|
|
|
|
/**************************************************************************/
|
|
/* File: mydefs.hh */
|
|
/* Author: Joachim Schoeberl */
|
|
/* Date: 10. Mar. 98 */
|
|
/**************************************************************************/
|
|
|
|
/*
|
|
defines for graphics, testmodes, ...
|
|
*/
|
|
|
|
|
|
// #define DEBUG
|
|
|
|
// Philippose - 31/01/2009
|
|
// Hack for the Windows Version
|
|
// in Linux, "PACKAGE_VERSION" is replaced
|
|
// in the configure/make phases, with the
|
|
// right version number
|
|
#ifdef WIN32
|
|
#define PACKAGE_VERSION "6.1-dev"
|
|
#endif
|
|
|
|
|
|
#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 noDEMOVERSION
|
|
#define noDEVELOP
|
|
#define noSTEP
|
|
#define noSOLIDGEOM
|
|
|
|
#define noDEMOAPP
|
|
#define noMODELLER
|
|
|
|
#define noSTAT_STREAM
|
|
#define noLOG_STREAM
|
|
|
|
#endif
|