summaryrefslogtreecommitdiffstats
path: root/regexp.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-01-29 15:06:46 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-01-29 15:06:46 -0500
commite89b125d341c9ade21a6aef97ea5ed8aa3084c93 (patch)
treef799fcd92f2b52cd3a098d9f39200b8a89b15d80 /regexp.h
parent8199f5c1c599a39ba0a9c4ace0bacde95b4bb483 (diff)
parent3cdf67e77da64ba1235265836f29b228deca3642 (diff)
downloadbfs-e89b125d341c9ade21a6aef97ea5ed8aa3084c93.tar.xz
Merge pull request #81 from data-man:oniguruma_1
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
new file mode 100644
index 0000000..8654b58
--- /dev/null
+++ b/regexp.h
@@ -0,0 +1,27 @@
+/****************************************************************************
+ * bfs *
+ * Copyright (C) 2022 Tavian Barnes <tavianator@tavianator.com> and *
+ * BFS contributors *
+ * *
+ * Permission to use, copy, modify, and/or distribute this software for any *
+ * purpose with or without fee is hereby granted. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES *
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF *
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR *
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES *
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN *
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF *
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
+ ****************************************************************************/
+
+#ifndef BFS_REGEXP_H
+#define BFS_REGEXP_H
+
+#if BFS_USE_ONIGURUMA == 1
+ #include <onigposix.h>
+#else
+ #include <regex.h>
+#endif
+
+#endif // BFS_REGEXP_H