This covers bugs # 7130 7131 7132 7133
All small patches submitted by Vladimar Marek (neuron) Basically fixes up some headers for Solaris's compiler. Kent
This commit is contained in:
parent
c1e9ad9c80
commit
6e91048bff
@ -13,11 +13,6 @@
|
||||
#include <algorithm>
|
||||
#include <stdio.h>
|
||||
|
||||
// sirdude fix for solaris
|
||||
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
// just use default rounding for platforms where its not available
|
||||
#ifndef round
|
||||
#define round(x) (x)
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "solver_interface.h"
|
||||
#include "particletracer.h"
|
||||
#include "elbeem.h"
|
||||
#include <stdlib.h> /* exit(3) - also in linux */
|
||||
|
||||
#ifdef _WIN32
|
||||
#else
|
||||
|
@ -99,10 +99,9 @@
|
||||
#define LBM_INLINED inline
|
||||
|
||||
// sirdude fix for solaris
|
||||
#if !defined(linux) && (defined (__sparc) || defined (__sparc__))
|
||||
#include <ieeefp.h>
|
||||
#if !defined(linux) && defined(sun)
|
||||
#ifndef expf
|
||||
#define expf exp
|
||||
#define expf(a) exp((double)(a))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "ntl_world.h"
|
||||
#include "elbeem.h"
|
||||
|
||||
#include <stdlib.h> /* getenv(3) - also in linux */
|
||||
|
||||
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#include <stdlib.h> /* rand(3) - also in linux */
|
||||
#include "solver_class.h"
|
||||
#include "solver_relax.h"
|
||||
#include "particletracer.h"
|
||||
|
@ -9,6 +9,11 @@
|
||||
#ifndef UTILITIES_H
|
||||
#include "ntl_vector3dim.h"
|
||||
|
||||
// Solaris requires ieeefp.h for finite(3C)
|
||||
#if !defined(linux) && defined(sun)
|
||||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* debugging outputs , debug level 0 (off) to 10 (max) */
|
||||
#ifdef ELBEEM_PLUGIN
|
||||
|
@ -38,6 +38,11 @@
|
||||
#include <X11/cursorfont.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
|
||||
// For obscure full screen mode stuuf
|
||||
// lifted verbatim from blut.
|
||||
|
||||
|
@ -30,10 +30,9 @@
|
||||
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "IK_QJacobianSolver.h"
|
||||
|
||||
//#include "analyze.h"
|
||||
|
||||
void IK_QJacobianSolver::AddSegmentList(IK_QSegment *seg)
|
||||
{
|
||||
m_segments.push_back(seg);
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "STR_String.h"
|
||||
|
||||
/*-------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user