home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / amiga / vim46src.lha / vim-4.6 / src / amiga.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-05  |  2.1 KB  |  111 lines

  1. /* vi:set ts=4 sw=4:
  2.  *
  3.  * VIM - Vi IMproved        by Bram Moolenaar
  4.  *
  5.  * Do ":help uganda"  in Vim to read copying and usage conditions.
  6.  * Do ":help credits" in Vim to see a list of people who contributed.
  7.  */
  8.  
  9. /*
  10.  * Amiga Machine-dependent things
  11.  */
  12.  
  13. #define CASE_INSENSITIVE_FILENAME    /* ignore case when comparing file names */
  14. #define SPACE_IN_FILENAME
  15. #define USE_FNAME_CASE                /* adjust case of file names */
  16. #ifndef _DCC
  17. #define HAVE_STAT_H
  18. #endif
  19. #define HAVE_STDLIB_H
  20. #define HAVE_STRING_H
  21. #define HAVE_FCNTL_H
  22. #define HAVE_STRCSPN
  23. #define HAVE_MEMSET
  24. #define HAVE_QSORT
  25. #if defined(__DATE__) && defined(__TIME__)
  26. # define HAVE_DATE_TIME
  27. #endif
  28.  
  29. /*
  30.  * Be conservative about sizeof(int). It could be 4 too.
  31.  */
  32. #define SIZEOF_INT    2
  33.  
  34. /*
  35.  * Manx doesn't have off_t, define it here.
  36.  */
  37. #ifdef AZTEC_C
  38. typedef long off_t;
  39. #endif
  40.  
  41. #ifdef LATTICE
  42. # define USE_TMPNAM        /* use tmpnam() instead of mktemp() */
  43. #endif
  44.  
  45. /* always use remove() to remove a file */
  46. #define vim_remove(x) remove((char *)(x))
  47.  
  48. /*
  49.  * arpbase.h must be included before functions.h
  50.  */
  51. #ifndef NO_ARP
  52. # include <libraries/arpbase.h>
  53. #endif
  54.  
  55. /*
  56.  * This won't be needed if you have a version of Lattice 4.01 without broken
  57.  * break signal handling.
  58.  */
  59. #include <signal.h>
  60.  
  61. /*
  62.  * Names for the EXRC, HELP and temporary files.
  63.  * Some of these may have been defined in the makefile.
  64.  */
  65.  
  66. #ifndef USR_VIMRC_FILE
  67. # define USR_VIMRC_FILE    "s:.vimrc"
  68. #endif
  69.  
  70. #ifndef USR_EXRC_FILE
  71. # define USR_EXRC_FILE    "s:.exrc"
  72. #endif
  73.  
  74. #ifndef VIMRC_FILE
  75. # define VIMRC_FILE        ".vimrc"
  76. #endif
  77.  
  78. #ifndef EXRC_FILE
  79. # define EXRC_FILE        ".exrc"
  80. #endif
  81.  
  82. #ifndef VIM_HLP
  83. # define VIM_HLP        "vim:vim_help.txt"
  84. #endif
  85.  
  86. #ifdef VIMINFO
  87. #ifndef VIMINFO_FILE
  88. # define VIMINFO_FILE    "s:.viminfo"
  89. #endif
  90. #endif /* VIMINFO */
  91.  
  92. #ifndef DEF_BDIR
  93. # define DEF_BDIR        ".,t:"        /* default for 'backupdir' */
  94. #endif
  95.  
  96. #ifndef DEF_DIR
  97. # define DEF_DIR        ".,t:"        /* default for 'directory' */
  98. #endif
  99.  
  100. #define TEMPNAME        "t:v?XXXXXX"
  101. #define TEMPNAMELEN        12
  102.  
  103. #ifndef MAXMEM
  104. # define MAXMEM            256        /* use up to 256Kbyte for buffer */
  105. #endif
  106. #ifndef MAXMEMTOT
  107. # define MAXMEMTOT        0        /* decide in set_init */
  108. #endif
  109.  
  110. #define BASENAMELEN        26        /* Amiga */
  111.