*/
/*
- $Revision: 1.31 $
- $Date: 2010/11/03 10:26:30 $
+ $Revision: 1.32 $
+ $Date: 2010/11/08 10:11:19 $
$Author: faust $
*/
#ifndef common_h
#define common_h
+#ifdef __BORLANDC__
+#include <time.h>
+#else
#include <ctime>
+#endif
#include <string>
#include "os_int.h"
//-----------------------------------------------------------------------------
int str2x(const std::string & str, int & x);
int str2x(const std::string & str, unsigned & x);
+int str2x(const std::string & str, long & x);
+int str2x(const std::string & str, unsigned long & x);
+#ifndef WIN32
int str2x(const std::string & str, long long & x);
int str2x(const std::string & str, unsigned long long & x);
+#endif
//-----------------------------------------------------------------------------
const std::string & x2str(unsigned x, std::string & s);
+const std::string & x2str(unsigned long x, std::string & s);
const std::string & x2str(unsigned long long x, std::string & s);
//-----------------------------------------------------------------------------
char * stg_strptime(const char *, const char *, struct tm *);