Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1014 B

  1. /*
  2. * encoder.h
  3. *
  4. * Main header file; includes everything else
  5. */
  6. #ifndef ENCODER_H
  7. #define ENCODER_H
  8. #ifdef USE_ASSEMBLY
  9. # define ASM_BSEARCH_FINDMATCH
  10. //# define ASM_QUICK_INSERT_BSEARCH_FINDMATCH
  11. #endif
  12. #ifndef UNALIGNED
  13. #ifndef NEEDS_ALIGNMENT
  14. #define UNALIGNED
  15. #else
  16. #define UNALIGNED __unaligned
  17. #endif
  18. #endif
  19. #include <stdlib.h>
  20. #include <string.h>
  21. #ifndef ASSERT
  22. #if defined( DEBUG ) || defined( DBG ) || defined( TESTCODE )
  23. int
  24. __stdcall
  25. Assert(
  26. const char *szText,
  27. const char *szFile,
  28. unsigned uLine
  29. );
  30. #define ASSERT( a ) (( a ) ? 1 : Assert( #a, __FILE__, __LINE__ ))
  31. #else
  32. #define ASSERT( a )
  33. #endif
  34. #endif // ASSERT
  35. #ifndef _ASSERTE
  36. #define _ASSERTE( a ) ASSERT( a )
  37. #endif
  38. #include "../common/typedefs.h"
  39. #include "../common/compdefs.h"
  40. #include "encdefs.h"
  41. #include "encvars.h"
  42. #include "encmacro.h"
  43. #include "encapi.h"
  44. #include "encproto.h"
  45. #endif /* ENCODER_H */