diff --git a/BeefRT/gperftools/src/windows/config.h b/BeefRT/gperftools/src/windows/config.h index 1af3518c..b9c0dc5e 100644 --- a/BeefRT/gperftools/src/windows/config.h +++ b/BeefRT/gperftools/src/windows/config.h @@ -37,10 +37,10 @@ /* Define to 1 if you have the header file. */ #undef HAVE_CYGWIN_SIGNAL_H -//#define _TIMESPEC_DEFINED +#define _TIMESPEC_DEFINED #ifndef __MINGW32__ -#define _CRT_NO_TIME_T +//#define _CRT_NO_TIME_T #endif /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. diff --git a/BeefRT/gperftools/src/windows/port.h b/BeefRT/gperftools/src/windows/port.h index 54b7ef08..67265e6d 100644 --- a/BeefRT/gperftools/src/windows/port.h +++ b/BeefRT/gperftools/src/windows/port.h @@ -68,7 +68,7 @@ #include /* for _off_t */ #include #include /* for rand, srand, _strtoxxx */ - +#include //#ifdef HAVE_PTHREAD //#include diff --git a/BeefySysLib/util/SizedArray.h b/BeefySysLib/util/SizedArray.h index 89a6fef8..093fc164 100644 --- a/BeefySysLib/util/SizedArray.h +++ b/BeefySysLib/util/SizedArray.h @@ -99,12 +99,12 @@ public: return itr; } - T& operator*() + T& operator*() const { return *mPtr; } - T* operator->() + T* operator->() const { return mPtr; }