Commit 5cb81cac authored by louiz’'s avatar louiz’

And actually use the values found by cmake

parent ef014f7d
...@@ -80,3 +80,5 @@ target_link_libraries(test ...@@ -80,3 +80,5 @@ target_link_libraries(test
irc irc
bridge bridge
utils) utils)
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
#cmakedefine ICONV_SECOND_ARGUMENT_IS_CONST
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
#include <string.h> #include <string.h>
#include <iconv.h> #include <iconv.h>
#include "config.h"
/** /**
* The UTF-8-encoded character used as a place holder when a character conversion fails. * The UTF-8-encoded character used as a place holder when a character conversion fails.
* This is U+FFFD � "replacement character" * This is U+FFFD � "replacement character"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment