Converting the JITDebugLock mutex to a ManagedStatic to avoid the static constructor...
[oota-llvm.git] / lib / Support / regex2.h
index 21659c34449a23089dbf600e38e33f1742d5cdbc..d81bfbc97d02d3e1fd158b3d3a9351636c006fdf 100644 (file)
@@ -35,6 +35,9 @@
  *     @(#)regex2.h    8.4 (Berkeley) 3/20/94
  */
 
+#ifndef LLVM_SUPPORT_REGEX2_H
+#define LLVM_SUPPORT_REGEX2_H
+
 /*
  * internals of regex_t
  */
@@ -155,3 +158,5 @@ struct re_guts {
 /* misc utilities */
 #define        OUT     (CHAR_MAX+1)    /* a non-character value */
 #define        ISWORD(c)       (isalnum(c&0xff) || (c) == '_')
+
+#endif