From 9b5cc783bd2b96a669c8a0b017d37857ed6f228c Mon Sep 17 00:00:00 2001 From: Nicky Date: Sat, 22 Dec 2012 18:48:57 +0100 Subject: [PATCH] include stdtypes.h for proper definition of U32. --- indra/llcommon/ndintrin.h | 10 +--------- indra/llcommon/ndpooldefines.h | 4 +--- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/indra/llcommon/ndintrin.h b/indra/llcommon/ndintrin.h index 08dfbabdc6..cd90d6fcf5 100644 --- a/indra/llcommon/ndintrin.h +++ b/indra/llcommon/ndintrin.h @@ -26,15 +26,7 @@ */ -#ifndef LL_STDTYPES_H - #if LL_WINDOWS - typedef LONG U32; - #else - typedef unsigned int U32; - #endif - - typedef unsigned char U8; -#endif +#include "stdtypes.h" namespace ndIntrin { diff --git a/indra/llcommon/ndpooldefines.h b/indra/llcommon/ndpooldefines.h index dbdb00d6bc..9d4c0fcd29 100644 --- a/indra/llcommon/ndpooldefines.h +++ b/indra/llcommon/ndpooldefines.h @@ -25,9 +25,7 @@ #ifndef NDPOOLDEFINES_H #define NDPOOLDEFINES_H -#ifndef LL_STDTYPES_H - #include "stdtypes.h" -#endif +#include "stdtypes.h" #define FROM_MB( mbVal ) (mbVal*1024*1024) #define TO_MB( bVal ) ( bVal / (1024*1024) )