1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

VS2019 fixes

This commit is contained in:
Brian Fiete 2020-11-18 09:14:51 -08:00
parent bd3fa65692
commit 506d9868fa
3 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

@ -99,12 +99,12 @@ public:
return itr;
}
T& operator*()
T& operator*() const
{
return *mPtr;
}
T* operator->()
T* operator->() const
{
return mPtr;
}