]> git.sur5r.net Git - openldap/blob - include/getopt-compat.h
Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
[openldap] / include / getopt-compat.h
1 /*
2  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted only
6  * as authorized by the OpenLDAP Public License.  A copy of this
7  * license is available at http://www.OpenLDAP.org/license.html or
8  * in file LICENSE in the top-level directory of the distribution.
9  */
10 /*
11  * getopt(3) declarations
12  */
13 #ifndef _GETOPT_COMPAT_H
14 #define _GETOPT_COMPAT_H
15
16 #include <ldap_cdefs.h>
17
18 LDAP_BEGIN_DECL
19
20 extern char *optarg;
21 extern int optind, opterr, optopt;
22
23 LDAP_F( int )
24 getopt LDAP_P((
25         int,
26         char * const [],
27         const char *));
28
29 LDAP_END_DECL
30
31 #endif /* _GETOPT_COMPAT_H */