Portability fix

This commit is contained in:
ehofman
2003-11-27 10:22:29 +00:00
parent e4008862ce
commit f4b30bbdd7
3 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,9 @@
# include <iomanip.h>
namespace std {
using ::setw;
using ::setprecision;
inline int setfill(int f) { ::setfill(f); }
};

View File

@@ -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

View File

@@ -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,