]> git.sur5r.net Git - openldap/blob - include/ac/ctype.h
Style changes, added cvs keywords
[openldap] / include / ac / ctype.h
1 /* Generic ctype.h */
2 /*
3  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11
12 #ifndef _AC_CTYPE_H
13 #define _AC_CTYPE_H
14
15 #include <ctype.h>
16
17 #ifdef C_UPPER_LOWER
18 # define TOUPPER(c)     (islower(c) ? toupper(c) : (c))
19 # define TOLOWER(c)     (islower(c) ? toupper(c) : (c))
20 #else
21 # define TOUPPER(c)     toupper(c)
22 # define TOLOWER(c)     tolower(c)
23 #endif
24
25 #endif /* _AC_CTYPE_H */