소스 검색

ENH: Fix the symantic of unicode_wchar

Andy Cedilnik 21 년 전
부모
커밋
fbc894b646
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      Utilities/cmxmlrpc/CMakeLists.txt
  2. 1 1
      Utilities/cmxmlrpc/xmlrpc_config.h.in

+ 3 - 0
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)

+ 1 - 1
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@"