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