2009-01-12 23:40:13 +00:00
|
|
|
#ifndef FILE_MYDEFS
|
|
|
|
#define FILE_MYDEFS
|
|
|
|
|
|
|
|
/**************************************************************************/
|
|
|
|
/* File: mydefs.hh */
|
|
|
|
/* Author: Joachim Schoeberl */
|
|
|
|
/* Date: 10. Mar. 98 */
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
defines for graphics, testmodes, ...
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
// #define DEBUG
|
|
|
|
|
2009-04-17 04:07:42 +00:00
|
|
|
#ifdef WIN32
|
2011-08-31 15:08:16 +00:00
|
|
|
#if NGINTERFACE_EXPORTS || NGLIB_EXPORTS || nglib_EXPORTS
|
2011-03-03 21:42:20 +00:00
|
|
|
#define DLL_HEADER __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define DLL_HEADER __declspec(dllimport)
|
|
|
|
#endif
|
2009-04-17 04:07:42 +00:00
|
|
|
#else
|
2011-03-03 21:42:20 +00:00
|
|
|
#define DLL_HEADER
|
2009-04-17 04:07:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-01-07 13:37:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __assume
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#define __assume(cond) if (!(cond)) __builtin_unreachable(); else;
|
|
|
|
#else
|
|
|
|
#define __assume(cond)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-12-11 12:12:05 +01:00
|
|
|
// #define BASE0
|
|
|
|
// #define DEBUG
|
2016-01-07 13:37:48 +01:00
|
|
|
|
|
|
|
|
2009-01-12 23:40:13 +00:00
|
|
|
#define noDEMOVERSION
|
|
|
|
#define noDEVELOP
|
|
|
|
#define noSTEP
|
|
|
|
#define noSOLIDGEOM
|
|
|
|
|
|
|
|
#define noDEMOAPP
|
|
|
|
#define noMODELLER
|
|
|
|
|
|
|
|
#define noSTAT_STREAM
|
|
|
|
#define noLOG_STREAM
|
|
|
|
|
|
|
|
#endif
|