d3d8/tests: Test the presentation parameters after creating an additional swap chain.
[wine.git] / libs / ldap / include / getopt-compat.h
blob3bbc1e40d8b8aa79ec26230cd1bad830f1fa8fc6
1 /* getopt-compat.h -- getopt(3) compatibility header */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2022 The OpenLDAP Foundation.
6 * All rights reserved.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
10 * Public License.
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
18 * getopt(3) declarations
20 #ifndef _GETOPT_COMPAT_H
21 #define _GETOPT_COMPAT_H
23 #include <ldap_cdefs.h>
25 LDAP_BEGIN_DECL
27 /* change symbols to avoid clashing */
28 #define optarg lutil_optarg
29 #define optind lutil_optind
30 #define opterr lutil_opterr
31 #define optopt lutil_optopt
32 #define getopt lutil_getopt
34 LDAP_LUTIL_V (char *) optarg;
35 LDAP_LUTIL_V (int) optind, opterr, optopt;
36 LDAP_LUTIL_F (int) getopt LDAP_P(( int, char * const [], const char *));
38 LDAP_END_DECL
40 #endif /* _GETOPT_COMPAT_H */