aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-04 15:33:47 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-11-04 15:33:47 -0700
commit280b602f10cf996c5a591cd5cc74923e2ccad054 (patch)
tree693741cb84c1a06b5a968e4d6d5d634c4c1bcacc /system/include/libc
parent21f969308e6a369dc8d52a7817d655a818f1ffd9 (diff)
headers fix
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/stdarg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/stdarg.h b/system/include/libc/stdarg.h
index 2957bf05..1d462684 100644
--- a/system/include/libc/stdarg.h
+++ b/system/include/libc/stdarg.h
@@ -39,7 +39,7 @@ typedef __builtin_va_list va_list;
*/
#define __va_copy(d,s) __builtin_va_copy(d,s)
-#if __STDC_VERSION__ >= 199900L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__)
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900L) || (defined(__cplusplus) && __cplusplus >= 201103L) || !defined(__STRICT_ANSI__)
#define va_copy(dest, src) __builtin_va_copy(dest, src)
#endif