1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

Do not redefine strupr

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Matt Kraai 2009-08-26 14:50:28 -07:00 committed by Günther Deschner
parent f092d689c5
commit 6657598168
2 changed files with 3 additions and 0 deletions

View File

@ -1016,6 +1016,7 @@ AC_CHECK_HEADERS(sys/mman.h)
AC_CHECK_FUNCS(shmget shm_open)
AC_CHECK_FUNCS(gettext dgettext)
AC_CHECK_FUNCS(bindtextdomain textdomain)
AC_CHECK_FUNCS(strupr)
# Find a method of generating a stack trace
AC_CHECK_HEADERS(execinfo.h libexc.h libunwind.h)

View File

@ -31,6 +31,7 @@
/*********************************************************************
*********************************************************************/
#ifndef HAVE_STRUPR
static int strupr( char *szDomainName )
{
if ( !szDomainName ) {
@ -42,6 +43,7 @@ static int strupr( char *szDomainName )
}
return ( 0 );
}
#endif
#if 0
/*********************************************************************