Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4a1ecba6
Commit
4a1ecba6
authored
Feb 18, 2012
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regex: Move the defines to a config header and include it unconditionally
parent
2b15f61f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
+0
-1
deps/regex/config.h
+7
-0
deps/regex/regex.c
+0
-2
No files found.
CMakeLists.txt
View file @
4a1ecba6
...
@@ -32,7 +32,6 @@ ELSE()
...
@@ -32,7 +32,6 @@ ELSE()
# Windows doesn't understand POSIX regex on its own
# Windows doesn't understand POSIX regex on its own
INCLUDE_DIRECTORIES
(
deps/regex
)
INCLUDE_DIRECTORIES
(
deps/regex
)
SET
(
SRC_REGEX deps/regex/regex.c
)
SET
(
SRC_REGEX deps/regex/regex.c
)
ADD_DEFINITIONS
(
-DGAWK -DNO_MBSUPPORT
)
ENDIF
()
ENDIF
()
IF
(
ZLIB_FOUND
)
IF
(
ZLIB_FOUND
)
...
...
deps/regex/config.h
0 → 100644
View file @
4a1ecba6
#ifndef _REGEX_CONFIG_H_
#define _REGEX_CONFIG_H_
# define GAWK
# define NO_MBSUPPORT
#endif
deps/regex/regex.c
View file @
4a1ecba6
...
@@ -18,9 +18,7 @@
...
@@ -18,9 +18,7 @@
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA. */
02110-1301 USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
#endif
/* Make sure noone compiles this code with a C++ compiler. */
/* Make sure noone compiles this code with a C++ compiler. */
#ifdef __cplusplus
#ifdef __cplusplus
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment