Move the cctools source version number into version.mak
[striptease.git] / preinc.h
blob565a113991ca1e6cee67c9e9ad2be7dd1b22752b
1 /*
2 * preinc.h include file for striptease project
3 * Copyright (C) 2011 Kyle J. McKay. All rights reserved.
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to
7 * deal in the Software without restriction, including without limitation the
8 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9 * sell copies of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 * Except as contained in this notice, the name of the author(s) shall not
23 * be used in advertising or otherwise to promote the sale, use or other
24 * dealings in this Software without prior written authorization from the
25 * author(s).
28 /* This is a hack to compile and build a 10.4 compatible version
29 * without tons of warnings
31 #include <stdint.h>
32 struct __darwin_i386_float_state;
33 #define __DARWIN_UNIX03 1
34 #define __uint32_t uint32_t
35 #define __lr lr
36 #define __pc pc
37 #include "mach/arm/_structs.h"
38 #undef __pc
39 #undef __lr
40 #undef __uint32_t
41 #undef __DARWIN_UNIX03