Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
98
Issues
98
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
5cb81cac
Commit
5cb81cac
authored
Nov 10, 2013
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And actually use the values found by cmake
parent
ef014f7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
config.h.cmake
config.h.cmake
+1
-0
src/utils/encoding.cpp
src/utils/encoding.cpp
+2
-0
No files found.
CMakeLists.txt
View file @
5cb81cac
...
...
@@ -80,3 +80,5 @@ target_link_libraries(test
irc
bridge
utils
)
CONFIGURE_FILE
(
config.h.cmake config.h @ONLY
)
config.h.cmake
0 → 100644
View file @
5cb81cac
#cmakedefine ICONV_SECOND_ARGUMENT_IS_CONST
src/utils/encoding.cpp
View file @
5cb81cac
...
...
@@ -7,6 +7,8 @@
#include <string.h>
#include <iconv.h>
#include "config.h"
/**
* The UTF-8-encoded character used as a place holder when a character conversion fails.
* This is U+FFFD � "replacement character"
...
...
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