And actually use the values found by cmake
This commit is contained in:
@@ -80,3 +80,5 @@ target_link_libraries(test
|
|||||||
irc
|
irc
|
||||||
bridge
|
bridge
|
||||||
utils)
|
utils)
|
||||||
|
|
||||||
|
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
#cmakedefine ICONV_SECOND_ARGUMENT_IS_CONST
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user