ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/MacOSX/Launcher/LauncherPrefix.h
Revision: 1.1
Committed: 2010-12-28T02:50:55Z (13 years, 10 months ago) by asvitkine
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
- Add a prefix header which is used in place of SheepShaver's config.h to
allow correct compilation of the Universal Binary.
- Update project to work with Xcode on Snow Leopard.
- Add missing #include <unistd.h>

File Contents

# Content
1 /*
2 * LauncherPrefix.h
3 *
4 * Copyright (C) 2010 Alexei Svitkine
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef LAUNCHERPREFIX_H
22 #define LAUNCHERPREFIX_H
23
24 #define CONFIG_H
25 #define STDC_HEADERS
26 #define SIZEOF_DOUBLE 8
27 #define SIZEOF_FLOAT 4
28 #define SIZEOF_INT 4
29 #define SIZEOF_LONG_LONG 8
30 #define SIZEOF_SHORT 2
31
32 #ifdef __LP64__
33 #define SIZEOF_VOID_P 8
34 #define SIZEOF_LONG 8
35 #else
36 #define SIZEOF_VOID_P 4
37 #define SIZEOF_LONG 4
38 #endif
39
40 #define loff_t off_t
41
42 #endif /* LAUNCHERPREFIX_H */