diff --git a/lib/Headers/limits.h b/lib/Headers/limits.h
index 68efbc373ebd5a1e99e4fac87546d29f6900527b..f04187ced26d14b90e42b13af6dadd25dbaefe9e 100644
--- a/lib/Headers/limits.h
+++ b/lib/Headers/limits.h
@@ -89,7 +89,7 @@
 /* C99 5.2.4.2.1: Added long long.
    C++11 18.3.3.2: same contents as the Standard C Library header <limits.h>.
  */
-#if __STDC_VERSION__ >= 199901 || __cplusplus >= 201103L
+#if __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L
 
 #undef  LLONG_MIN
 #undef  LLONG_MAX
diff --git a/lib/Headers/stdarg.h b/lib/Headers/stdarg.h
index 2957bf058ea8ff35fc275df0857aaaf3a5c85789..6110a06641cb8d6c3601691a265062d523ea1273 100644
--- a/lib/Headers/stdarg.h
+++ b/lib/Headers/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 __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__)
 #define va_copy(dest, src)  __builtin_va_copy(dest, src)
 #endif