mcatan      2004/05/27 02:16:56

  Modified:    include/log4cxx/helpers tchar.h
               .        configure.in
  Log:
  added test for swprintf
  
  Revision  Changes    Path
  1.36      +2 -0      logging-log4cxx/include/log4cxx/helpers/tchar.h
  
  Index: tchar.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/helpers/tchar.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- tchar.h   13 May 2004 21:14:38 -0000      1.35
  +++ tchar.h   27 May 2004 09:16:56 -0000      1.36
  @@ -47,7 +47,9 @@
   #ifdef WIN32
                _snwprintf(dst, maxlen, L"%I64d", ll);
   #else
  +#ifdef HAVE_SWPRINTF
                swprintf(dst, maxlen, L"%lld", ll);
  +#endif
   #endif
        }
        
  
  
  
  1.39      +2 -0      logging-log4cxx/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/configure.in,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- configure.in      13 May 2004 21:19:28 -0000      1.38
  +++ configure.in      27 May 2004 09:16:56 -0000      1.39
  @@ -141,6 +141,8 @@
   # Checks local idioms
   # 
----------------------------------------------------------------------------
   
  +AC_CHECK_FUNCS(swprintf)
  +
   # for SysLogAppender
   
   AC_CHECK_FUNCS(syslog)
  
  
  

Reply via email to