summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-08-29 10:45:32 -0700
committerMerov Linden <merov@lindenlab.com>2012-08-29 10:45:32 -0700
commit01a154809d650f7905aaa208150a1070b19e5c2b (patch)
treef0dda921e97830d68e41553137459a3dbcca07b6 /indra/llcommon
parentca7abc4c3be9310f4e5fec00b7d6ffadaba58ff0 (diff)
parent051bc99573d7c571cea0e2e1df332c1e5e97ff19 (diff)
Pull merge from richard/viewer-chui
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llmemory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h
index 9dd776ff57..08e2a2caa6 100644
--- a/indra/llcommon/llmemory.h
+++ b/indra/llcommon/llmemory.h
@@ -65,6 +65,8 @@ inline void* ll_aligned_realloc_16(void* ptr, size_t size) // returned hunk MUST
#elif defined(LL_DARWIN)
return realloc(ptr,size); // default osx malloc is 16 byte aligned.
#else
+ // The realloc alignment test is skipped on Linux because the ll_aligned_realloc_16()
+ // function is not implemented to ensure alignment (see alignment_test.cpp)
return realloc(ptr,size); // FIXME not guaranteed to be aligned.
#endif
}