Brian Fiete 4 éve
szülő
commit
506d9868fa

+ 2 - 2
BeefRT/gperftools/src/windows/config.h

@@ -37,10 +37,10 @@
 /* Define to 1 if you have the <cygwin/signal.h> 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.

+ 1 - 1
BeefRT/gperftools/src/windows/port.h

@@ -68,7 +68,7 @@
 #include <sys/types.h>       /* for _off_t */
 #include <assert.h>
 #include <stdlib.h>          /* for rand, srand, _strtoxxx */
-
+#include <time.h>
 
 //#ifdef HAVE_PTHREAD
 //#include <pthread.h>

+ 2 - 2
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;
 		}