Precompile_Common.h 2.2 KB

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