Changeset 14534
- Timestamp:
- Jun 1, 2015, 6:52:14 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r14533 r14534 398 398 399 399 set(NEEDED_FUNCTIONS 400 _configthreadlocale 400 401 canonicalize_file_name 401 402 daemon -
trunk/cmake/TrMacros.cmake
r14496 r14534 66 66 string(TOUPPER "${INPUT}" ID) 67 67 string(REGEX REPLACE "[^A-Z0-9]+" "_" ID "${ID}") 68 string(REGEX REPLACE "^_+|_+$" "" ID "${ID}")68 # string(REGEX REPLACE "^_+|_+$" "" ID "${ID}") 69 69 set(${OVAR} "${ID}" PARENT_SCOPE) 70 70 endfunction() -
trunk/configure.ac
r14533 r14534 108 108 109 109 AC_CHECK_HEADERS([stdbool.h xlocale.h]) 110 AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename canonicalize_file_name strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll mkdtemp uselocale ])110 AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename canonicalize_file_name strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll mkdtemp uselocale _configthreadlocale]) 111 111 AC_PROG_INSTALL 112 112 AC_PROG_MAKE_SET -
trunk/libtransmission/variant.c
r14533 r14534 54 54 locale_t old_locale; 55 55 #else 56 #if def _WIN3257 int old_thread_config;56 #if defined (HAVE__CONFIGTHREADLOCALE) && defined (_ENABLE_PER_THREAD_LOCALE) 57 int old_thread_config; 58 58 #endif 59 int category;60 char old_locale[128];59 int category; 60 char old_locale[128]; 61 61 #endif 62 62 }; … … 73 73 #else 74 74 75 #if def _WIN3275 #if defined (HAVE__CONFIGTHREADLOCALE) && defined (_ENABLE_PER_THREAD_LOCALE) 76 76 context->old_thread_config = _configthreadlocale (_ENABLE_PER_THREAD_LOCALE); 77 77 #endif … … 96 96 setlocale (context->category, context->old_locale); 97 97 98 #if def _WIN3298 #if defined (HAVE__CONFIGTHREADLOCALE) && defined (_ENABLE_PER_THREAD_LOCALE) 99 99 _configthreadlocale (context->old_thread_config); 100 100 #endif
Note: See TracChangeset
for help on using the changeset viewer.