Win compile fix. Including stdint.h explodes in vc2010, so #if'd it out for windows.
This commit is contained in:
@@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#if !LL_WINDOWS
|
||||||
#include <stdint.h> // uintptr_t
|
#include <stdint.h> // uintptr_t
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "llerror.h"
|
#include "llerror.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1276,9 +1276,9 @@ bool LLTextureFetchWorker::doWork(S32 param)
|
|||||||
//
|
//
|
||||||
static const LLCachedControl<U32> max_http_requests("HTTPMaxRequests", 32);
|
static const LLCachedControl<U32> max_http_requests("HTTPMaxRequests", 32);
|
||||||
static const LLCachedControl<U32> min_http_requests("HTTPMinRequests", 2);
|
static const LLCachedControl<U32> min_http_requests("HTTPMinRequests", 2);
|
||||||
if((mFetcher->getNumHTTPRequests() > max_http_requests) ||
|
if(((U32)mFetcher->getNumHTTPRequests() > max_http_requests) ||
|
||||||
((mFetcher->getTextureBandwidth() > mFetcher->mMaxBandwidth) &&
|
((mFetcher->getTextureBandwidth() > mFetcher->mMaxBandwidth) &&
|
||||||
(mFetcher->getNumHTTPRequests() > min_http_requests)) ||
|
((U32)mFetcher->getNumHTTPRequests() > min_http_requests)) ||
|
||||||
!sgConnectionThrottle())
|
!sgConnectionThrottle())
|
||||||
{
|
{
|
||||||
return false ; //wait.
|
return false ; //wait.
|
||||||
|
|||||||
Reference in New Issue
Block a user