diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-12-16 13:12:00 +0100 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-12-17 13:42:26 +0100 |
commit | e092e7c30464555b3fb81adc8f2f479e892b0786 (patch) | |
tree | 8aed900855f09f0e93d7808339a01816d5d798a8 /libc/stdlib/getenv.c | |
parent | 197b2de50d7c025b6a25e7e1cde7a5667728c15c (diff) |
check if USE_TLS is defined before use
This patch will convert all the #ifdef USE_TLS and #if USE_TLS to
#if defined(USE_TLS) && USE_TLS.
By checking if the USE_TLS is defined before checking its value will result in
correct behavior for architectures not defining this config symbol.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions