Mercurial > vim
comparison src/vim.h @ 127:616289ecb7c8
updated for version 7.0044
author | vimboss |
---|---|
date | Tue, 25 Jan 2005 21:46:35 +0000 |
parents | 1bba6641dd1e |
children | 6df0106fc595 |
comparison
equal
deleted
inserted
replaced
126:c3075f07a273 | 127:616289ecb7c8 |
---|---|
18 defined(FEAT_MZSCHEME) || \ | 18 defined(FEAT_MZSCHEME) || \ |
19 defined(DYNAMIC_GETTEXT) || \ | 19 defined(DYNAMIC_GETTEXT) || \ |
20 defined(DYNAMIC_ICONV) || \ | 20 defined(DYNAMIC_ICONV) || \ |
21 defined(DYNAMIC_IME) || \ | 21 defined(DYNAMIC_IME) || \ |
22 defined(XPM) | 22 defined(XPM) |
23 # pragma option -pc | 23 #pragma option -pc |
24 # else | 24 # else |
25 # pragma option -pr | 25 #pragma option -pr |
26 # endif | 26 # endif |
27 #endif | 27 #endif |
28 | 28 |
29 /* ============ the header file puzzle (ca. 50-100 pieces) ========= */ | 29 /* ============ the header file puzzle (ca. 50-100 pieces) ========= */ |
30 | 30 |
1282 # define MB_STRICMP(d, s) (has_mbyte ? mb_strnicmp((char_u *)(d), (char_u *)(s), (int)MAXCOL) : STRICMP((d), (s))) | 1282 # define MB_STRICMP(d, s) (has_mbyte ? mb_strnicmp((char_u *)(d), (char_u *)(s), (int)MAXCOL) : STRICMP((d), (s))) |
1283 # define MB_STRNICMP(d, s, n) (has_mbyte ? mb_strnicmp((char_u *)(d), (char_u *)(s), (int)(n)) : STRNICMP((d), (s), (n))) | 1283 # define MB_STRNICMP(d, s, n) (has_mbyte ? mb_strnicmp((char_u *)(d), (char_u *)(s), (int)(n)) : STRNICMP((d), (s), (n))) |
1284 #else | 1284 #else |
1285 # define MB_STRICMP(d, s) STRICMP((d), (s)) | 1285 # define MB_STRICMP(d, s) STRICMP((d), (s)) |
1286 # define MB_STRNICMP(d, s, n) STRNICMP((d), (s), (n)) | 1286 # define MB_STRNICMP(d, s, n) STRNICMP((d), (s), (n)) |
1287 # define transchar_byte(c) transchar(c) | |
1288 #endif | 1287 #endif |
1289 | 1288 |
1290 #define STRCAT(d, s) strcat((char *)(d), (char *)(s)) | 1289 #define STRCAT(d, s) strcat((char *)(d), (char *)(s)) |
1291 #define STRNCAT(d, s, n) strncat((char *)(d), (char *)(s), (size_t)(n)) | 1290 #define STRNCAT(d, s, n) strncat((char *)(d), (char *)(s), (size_t)(n)) |
1292 | 1291 |
1630 # define mch_msg(str) printf("%s", (str)) | 1629 # define mch_msg(str) printf("%s", (str)) |
1631 #else | 1630 #else |
1632 # define USE_MCH_ERRMSG | 1631 # define USE_MCH_ERRMSG |
1633 #endif | 1632 #endif |
1634 | 1633 |
1634 #ifndef FEAT_MBYTE | |
1635 # define after_pathsep(b, p) vim_ispathsep(*((p) - 1)) | |
1636 # define transchar_byte(c) transchar(c) | |
1637 #endif | |
1638 | |
1639 #ifndef FEAT_LINEBREAK | |
1640 /* Without the 'numberwidth' option line numbers are always 7 chars. */ | |
1641 # define number_width(x) 7 | |
1642 #endif | |
1643 | |
1644 | |
1635 #include "globals.h" /* global variables and messages */ | 1645 #include "globals.h" /* global variables and messages */ |
1636 | 1646 |
1637 #ifdef FEAT_SNIFF | 1647 #ifdef FEAT_SNIFF |
1638 # include "if_sniff.h" | 1648 # include "if_sniff.h" |
1639 #endif | 1649 #endif |
1676 # define BROWSE_DIR 2 /* flag for do_browse() */ | 1686 # define BROWSE_DIR 2 /* flag for do_browse() */ |
1677 #endif | 1687 #endif |
1678 | 1688 |
1679 /* stop using fastcall for Borland */ | 1689 /* stop using fastcall for Borland */ |
1680 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) | 1690 #if defined(__BORLANDC__) && defined(WIN32) && !defined(DEBUG) |
1681 # pragma option -p. | 1691 #pragma option -p. |
1682 #endif | 1692 #endif |
1683 | 1693 |
1684 #if defined(MEM_PROFILE) | 1694 #if defined(MEM_PROFILE) |
1685 # define vim_realloc(ptr, size) mem_realloc((ptr), (size)) | 1695 # define vim_realloc(ptr, size) mem_realloc((ptr), (size)) |
1686 #else | 1696 #else |