X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a5bb534ab656e9eaab163c22df0325d3baa3ce40..5178870c9c7f80d0c6f1b715d0131320d8f5bc90:/stglibs/common.lib/common.h diff --git a/stglibs/common.lib/common.h b/stglibs/common.lib/common.h index 904c6e47..beba4508 100644 --- a/stglibs/common.lib/common.h +++ b/stglibs/common.lib/common.h @@ -19,19 +19,23 @@ */ /* - $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 +#else #include +#endif #include -#include "os_int.h" -#include "stg_const.h" +#include "stg/os_int.h" +#include "stg/stg_const.h" #define STAT_TIME_3 (1) #define STAT_TIME_2 (2) @@ -217,10 +221,13 @@ 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 *);