mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
16 lines
310 B
C
16 lines
310 B
C
/* Generic ctype.h */
|
|
|
|
#ifndef _AC_CTYPE_H
|
|
#define _AC_CTYPE_H
|
|
|
|
#include <ctype.h>
|
|
|
|
#ifdef C_UPPER_LOWER
|
|
# define TOUPPER(c) (islower(c) ? toupper(c) : (c))
|
|
# define TOLOWER(c) (islower(c) ? toupper(c) : (c))
|
|
#else
|
|
# define TOUPPER(c) toupper(c)
|
|
# define TOLOWER(c) tolower(c)
|
|
#endif
|
|
|
|
#endif /* _AC_CTYPE_H */
|