And actually use the values found by cmake

This commit is contained in:
Florent Le Coz
2013-11-10 03:29:12 +01:00
parent ef014f7ddf
commit 5cb81cace0
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -80,3 +80,5 @@ target_link_libraries(test
irc irc
bridge bridge
utils) utils)
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
+1
View File
@@ -0,0 +1 @@
#cmakedefine ICONV_SECOND_ARGUMENT_IS_CONST
+2
View File
@@ -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"