From fbc894b646560a63f14b5a3feffbd31f5dd6fdd4 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 6 Mar 2005 11:26:50 -0500 Subject: ENH: Fix the symantic of unicode_wchar --- Utilities/cmxmlrpc/CMakeLists.txt | 3 +++ Utilities/cmxmlrpc/xmlrpc_config.h.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt index d9d460a..cef60aa 100644 --- a/Utilities/cmxmlrpc/CMakeLists.txt +++ b/Utilities/cmxmlrpc/CMakeLists.txt @@ -5,6 +5,9 @@ INCLUDE_REGULAR_EXPRESSION("^.*$") # Include all the necessary files for macros SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake") +OPTION(HAVE_UNICODE_WCHAR "Enable Unicode Support" YES) +MARK_AS_ADVANCED(HAVE_UNICODE_WCHAR) + # Check if header file exists and add it to the list. SET(CURRENT_INCLUDES) INCLUDE (CheckIncludeFiles) diff --git a/Utilities/cmxmlrpc/xmlrpc_config.h.in b/Utilities/cmxmlrpc/xmlrpc_config.h.in index 39bb904..179baf3 100644 --- a/Utilities/cmxmlrpc/xmlrpc_config.h.in +++ b/Utilities/cmxmlrpc/xmlrpc_config.h.in @@ -26,7 +26,7 @@ #define ATTR_UNUSED @ATTR_UNUSED@ -#define HAVE_UNICODE_WCHAR @HAVE_UNICODE_WCHAR_DEFINE@ +#define HAVE_UNICODE_WCHAR @HAVE_UNICODE_WCHAR@ #define DIRECTORY_SEPARATOR "@DIRECTORY_SEPARATOR@" -- cgit v0.12