• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 	Common Precompiled headers for LAME on Macintosh
3 
4 	Precompiled header source for building LAME on Macintosh using CodeWarrior.
5 	Includes most definitions normally generated by configure in config.h,
6 	except for the ones that vary from subproject to subproject
7 */
8 
9 #define TARGET_MAC_DLL 1
10 
11 #ifndef _ALL_SOURCE
12 /* #undef _ALL_SOURCE */
13 #endif
14 
15 #define HAVE_ALLOCA 1
16 
17 #define HAVE_LONG_DOUBLE 1
18 
19 #define STDC_HEADERS 1
20 
21 #define TIME_WITH_SYS_TIME 1
22 
23 #define WORDS_BIGENDIAN 1
24 
25 #define uint8_t UInt8
26 #define uint16_t UInt16
27 #define uint32_t UInt32
28 #define uint64_t unsigned long long
29 #define ieee854_float80_t long double
30 #define ieee754_float64_t double
31 #define ieee754_float32_t float
32 
33 #define SIZEOF_DOUBLE 8
34 #define SIZEOF_FLOAT 4
35 #define SIZEOF_INT 4
36 #define SIZEOF_LONG 4
37 #define SIZEOF_LONG_LONG 8
38 #define SIZEOF_SHORT 2
39 #define SIZEOF_UNSIGNED_INT 4
40 #define SIZEOF_UNSIGNED_LONG 4
41 #define SIZEOF_UNSIGNED_LONG_LONG 8
42 #define SIZEOF_UNSIGNED_SHORT 2
43 
44 #define HAVE_GETTIMEOFDAY 1
45 #define HAVE_SOCKET 1
46 #define HAVE_STRTOL 1
47 #define HAVE_ERRNO_H 1
48 #define HAVE_FCNTL_H 1
49 #define HAVE_LIMITS_H 1
50 #define HAVE_STRING_H 1
51 #define HAVE_SYS_TIME_H 1
52 #define HAVE_UNISTD_H 1
53 
54 #define PACKAGE "lame"
55 #define VERSION "3.91"
56 
57 #define PROTOTYPES 1
58 #define HAVE_IEEE854_FLOAT80 1
59 
60 #define LIMIT_STACK_USAGE	1
61 
62 //	The following definitions have been pulled out to specific targets'
63 //		pch files:
64 //			LAME_LIBRARY_BUILD			1 for building the DLL
65 //			LIBSNDFILE					1 for building with LibSndFile, applies
66 //											only to CLI encoder
67 //			NOANALYSIS					1 for building without hooks for the
68 //											MP3 frame analyzer
69 //			HAVE_MPGLIB					1 for building with MP3 decoding library.
70 //											Note MPGLIB, unlike LAME itself, is
71 //											GPL as opposed to LGPL and thus unsuitable
72 //											for compilation into a DLL that would be used
73 //											from a closed-source app.
74 //			USE_LAYER_1					1 for building layer-1 decoding into MPGLIB
75 //			USE_LAYER_2					1 for building layer-2 decoding into MPGLIB
76 //			HAVE_VORBIS					1 for building vorbis support
77 //			NDEBUG						1 for building with debug info
78 //			BRHIST						1 for histogram display in CLI encoder
79 
80 #define HAVE_TERMCAP 1
81 
82 #include	<MacTypes.h>
83