Leaked source code of windows server 2003
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.

48 lines
1.5 KiB

  1. /***
  2. *Constant.h - Constants used by the ifstripper, parser and symbol table
  3. *
  4. * Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Constants used by the ifstripper, parser and symbol table
  8. *
  9. *Revision History:
  10. * 09-30-92 MAL Initial version
  11. *
  12. *******************************************************************************/
  13. #ifndef CONSTANT_H
  14. #define CONSTANT_H
  15. #define TRUE 1
  16. #define FALSE 0 /* Boolean values */
  17. #define IF 0 /* Tokens for preprocessor statements */
  18. #define ELIF 1 /* These must not be re-ordered */
  19. #define ELSE 2
  20. #define ENDIF 3
  21. #define IFDEF 4
  22. #define IFNDEF 5
  23. #define IF1 6
  24. #define IF2 7
  25. #define IFB 8
  26. #define IFNB 9
  27. #define IFIDN 10
  28. #define IFDIF 11 /* CFW - added */
  29. #define IFE 12 /* CFW - added */
  30. #define maxkeyword 12
  31. #define maxcomment 2 /* number of comment strings */
  32. #define NORMAL 100
  33. #define KEYWORD 101 /* Used only for skipto and copyto */
  34. #define DEFINED 1
  35. #define UNDEFINED 2
  36. #define IGNORE 3
  37. #define NOTPRESENT 4 /* Types of switches (symbols) */
  38. #define MAXNAMELEN 65 /* Maximum length of a switch name */
  39. #define MAXLINELEN 512 /* Maximum input line length */
  40. #define MAXCONDLEN 512 /* Maximum length of a condition */
  41. #define MAXFILENAMELEN 97 /* Maximum file name length */
  42. #endif /* CONSTANT_H */