[llvm] r328974 - Attempt to heal bots after r328970.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 06:49:36 PDT 2018


Author: nico
Date: Mon Apr  2 06:49:35 2018
New Revision: 328974

URL: http://llvm.org/viewvc/llvm-project?rev=328974&view=rev
Log:
Attempt to heal bots after r328970.

Modified:
    llvm/trunk/lib/Support/regcomp.c

Modified: llvm/trunk/lib/Support/regcomp.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/regcomp.c?rev=328974&r1=328973&r2=328974&view=diff
==============================================================================
--- llvm/trunk/lib/Support/regcomp.c (original)
+++ llvm/trunk/lib/Support/regcomp.c Mon Apr  2 06:49:35 2018
@@ -36,6 +36,7 @@
  */
 
 #include <sys/types.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
@@ -47,12 +48,6 @@
 #include "regex2.h"
 
 #include "llvm/Config/config.h"
-#if HAVE_STDINT_H
-#include <stdint.h>
-#else
-/* Pessimistically bound memory use */
-#define SIZE_MAX UINT_MAX
-#endif
 
 /* character-class table */
 static struct cclass {




More information about the llvm-commits mailing list