tests: attempt to fix with TZ set
[m6w6/ext-psi] / php_psi_posix.h.in
1 /*******************************************************************************
2 Copyright (c) 2016, Michael Wallner <mike@php.net>.
3 All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7
8 * Redistributions of source code must retain the above copyright notice,
9 this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the distribution.
13
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
18 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *******************************************************************************/
25
26 /* generated by configure */
27
28 #include "php_psi_stdinc.h"
29
30 #ifdef PSI_STD_TYPES
31 static struct psi_std_type {
32 token_t type_tag;
33 const char *type_name;
34 const char *alias;
35 } psi_std_types[] = {
36 @PSI_STDTYPES@
37 {0}
38 };
39 #endif
40
41 #ifdef PSI_PREDEF_CONSTS
42 static struct psi_predef_const {
43 token_t type_tag;
44 const char *type_name;
45 const char *var_name;
46 impl_val value;
47 } psi_predef_consts[] = {
48 @PSI_CONSTS@
49 {0}
50 };
51 #endif
52
53 #ifdef PSI_FUNC_REDIRS
54 typedef void (*psi_func_ptr)();
55 static struct psi_func_redir {
56 const char *name;
57 psi_func_ptr func;
58 } psi_func_redirs[] = {
59 /* needed from libc_nonshared.a */
60 {"fstat", (psi_func_ptr) fstat},
61 {"fstatat", (psi_func_ptr) fstatat},
62 {"lstat", (psi_func_ptr) lstat},
63 {"mknod", (psi_func_ptr) mknod},
64 {"mknodat", (psi_func_ptr) mknodat},
65 {"stat", (psi_func_ptr) stat},
66 {0}
67 };
68 #endif
69