Portability fix
This commit is contained in:
@@ -5,7 +5,9 @@
|
|||||||
# include <iomanip.h>
|
# include <iomanip.h>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
using ::setw;
|
using ::setw;
|
||||||
|
using ::setprecision;
|
||||||
|
|
||||||
inline int setfill(int f) { ::setfill(f); }
|
inline int setfill(int f) { ::setfill(f); }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define NASAL_BIG_ENDIAN_32_BIT
|
||||||
|
|
||||||
// This is a nasal "reference". They are always copied by value, and
|
// This is a nasal "reference". They are always copied by value, and
|
||||||
// contain either a pointer to a garbage-collectable nasal object
|
// contain either a pointer to a garbage-collectable nasal object
|
||||||
// (string, vector, hash) or a floating point number. Keeping the
|
// (string, vector, hash) or a floating point number. Keeping the
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ public:
|
|||||||
{ add(make_callback(o,m), 0, delay, false, sim); }
|
{ add(make_callback(o,m), 0, delay, false, sim); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class SGTimer;
|
friend struct SGTimer;
|
||||||
|
|
||||||
void add(SGCallback* cb,
|
void add(SGCallback* cb,
|
||||||
double interval, double delay,
|
double interval, double delay,
|
||||||
|
|||||||
Reference in New Issue
Block a user