diff options
| -rw-r--r-- | src/nvim/os/os_defs.h | 1 | ||||
| -rw-r--r-- | src/nvim/version.c | 151 | ||||
| -rw-r--r-- | src/nvim/vim.h | 3 | 
3 files changed, 154 insertions, 1 deletions
| diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h index 923a362b41..87f8d214bd 100644 --- a/src/nvim/os/os_defs.h +++ b/src/nvim/os/os_defs.h @@ -4,6 +4,7 @@  #include <ctype.h>  #include <stdio.h>  #include <stdlib.h> +#include <sys/param.h>  #include <sys/stat.h>  #include <sys/types.h> diff --git a/src/nvim/version.c b/src/nvim/version.c index 286fcc2391..a09574a73e 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -78,6 +78,157 @@ static char *features[] = {  // clang-format off  static const int included_patches[] = { +  1357, +  // 1356, +  // 1355, +  // 1354, +  // 1353, +  // 1352, +  // 1351, +  // 1350, +  // 1349, +  // 1348, +  // 1347, +  // 1346, +  // 1345, +  // 1344, +  // 1343, +  // 1342, +  // 1341, +  // 1340, +  // 1339, +  // 1338, +  // 1337, +  // 1336, +  // 1335, +  // 1334, +  // 1333, +  // 1332, +  // 1331, +  // 1330, +  // 1329, +  // 1328, +  // 1327, +  // 1326, +  // 1325, +  // 1324, +  // 1323, +  // 1322, +  // 1321, +  // 1320, +  // 1319, +  // 1318, +  // 1317, +  // 1316, +  // 1315, +  // 1314, +  // 1313, +  // 1312, +  // 1311, +  // 1310, +  // 1309, +  // 1308, +  // 1307, +  // 1306, +  // 1305, +  // 1304, +  // 1303, +  // 1302, +  // 1301, +  // 1300, +  // 1299, +  // 1298, +  // 1297, +  // 1296, +  // 1295, +  // 1294, +  // 1293, +  // 1292, +  // 1291, +  // 1290, +  // 1289, +  // 1288, +  // 1287, +  // 1286, +  // 1285, +  // 1284, +  // 1283, +  // 1282, +  // 1281, +  // 1280, +  // 1279, +  // 1278, +  // 1277, +  // 1276, +  // 1275, +  // 1274, +  // 1273, +  // 1272, +  // 1271, +  // 1270, +  // 1269, +  // 1268, +  // 1267, +  // 1266, +  // 1265, +  // 1264, +  // 1263, +  // 1262, +  // 1261, +  // 1260, +  // 1259, +  // 1258, +  // 1257, +  // 1256, +  // 1255, +  // 1254, +  // 1253, +  // 1252, +  // 1251, +  // 1250, +  // 1249, +  // 1248, +  // 1247, +  // 1246, +  // 1245, +  // 1244, +  // 1243, +  // 1242, +  // 1241, +  // 1240, +  // 1239, +  // 1238, +  // 1237, +  // 1236, +  // 1235, +  // 1234, +  // 1233, +  // 1232, +  // 1231, +  // 1230, +  // 1229, +  // 1228, +  // 1227, +  // 1226, +  // 1225, +  // 1224, +  // 1223, +  // 1222, +  // 1221, +  // 1220, +  // 1219, +  // 1218, +  // 1217, +  // 1216, +  // 1215, +  // 1214, +  // 1213, +  // 1212, +  // 1211, +  // 1210, +  // 1209, +  // 1208, +  // 1207,    1206,    // 1026,    1025, diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 1db1a073ed..7da3c8246f 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -314,7 +314,8 @@ enum { FOLD_TEXT_LEN = 51 };  //!< buffer size for get_foldtext()  // Lowest number used for window ID. Cannot have this many windows per tab.  #define LOWEST_WIN_ID 1000 -#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && defined(S_ISCHR) +// BSD is supposed to cover FreeBSD and similar systems. +#if (defined(BSD) || defined(__FreeBSD_kernel__)) && defined(S_ISCHR)  # define OPEN_CHR_FILES  #endif | 
