vms_rms.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifdef NAML$C_MAXRSS
  2. # define CC_RMS_NAMX cc$rms_naml
  3. # define FAB_NAMX fab$l_naml
  4. # define FAB_OR_NAML( fab, naml) naml
  5. # define FAB_OR_NAML_DNA naml$l_long_defname
  6. # define FAB_OR_NAML_DNS naml$l_long_defname_size
  7. # define FAB_OR_NAML_FNA naml$l_long_filename
  8. # define FAB_OR_NAML_FNS naml$l_long_filename_size
  9. # define NAMX_ESA naml$l_long_expand
  10. # define NAMX_ESL naml$l_long_expand_size
  11. # define NAMX_ESS naml$l_long_expand_alloc
  12. # define NAMX_NOP naml$b_nop
  13. # define SET_NAMX_NO_SHORT_UPCASE( nam) nam.naml$v_no_short_upcase = 1
  14. # if __INITIAL_POINTER_SIZE == 64
  15. # define NAMX_DNA_FNA_SET(fab) fab.fab$l_dna = (__char_ptr32) -1; \
  16. fab.fab$l_fna = (__char_ptr32) -1;
  17. # else /* __INITIAL_POINTER_SIZE == 64 */
  18. # define NAMX_DNA_FNA_SET(fab) fab.fab$l_dna = (char *) -1; \
  19. fab.fab$l_fna = (char *) -1;
  20. # endif /* __INITIAL_POINTER_SIZE == 64 [else] */
  21. # define NAMX_MAXRSS NAML$C_MAXRSS
  22. # define NAMX_STRUCT NAML
  23. #else /* def NAML$C_MAXRSS */
  24. # define CC_RMS_NAMX cc$rms_nam
  25. # define FAB_NAMX fab$l_nam
  26. # define FAB_OR_NAML( fab, naml) fab
  27. # define FAB_OR_NAML_DNA fab$l_dna
  28. # define FAB_OR_NAML_DNS fab$b_dns
  29. # define FAB_OR_NAML_FNA fab$l_fna
  30. # define FAB_OR_NAML_FNS fab$b_fns
  31. # define NAMX_ESA nam$l_esa
  32. # define NAMX_ESL nam$b_esl
  33. # define NAMX_ESS nam$b_ess
  34. # define NAMX_NOP nam$b_nop
  35. # define NAMX_DNA_FNA_SET(fab)
  36. # define NAMX_MAXRSS NAM$C_MAXRSS
  37. # define NAMX_STRUCT NAM
  38. # ifdef NAM$M_NO_SHORT_UPCASE
  39. # define SET_NAMX_NO_SHORT_UPCASE( nam) naml.naml$v_no_short_upcase = 1
  40. # else /* def NAM$M_NO_SHORT_UPCASE */
  41. # define SET_NAMX_NO_SHORT_UPCASE( nam)
  42. # endif /* def NAM$M_NO_SHORT_UPCASE [else] */
  43. #endif /* def NAML$C_MAXRSS [else] */