Changeset 2178 in kBuild
- Timestamp:
- Jan 3, 2009 12:26:23 AM (16 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/Makefile.kmk
r2172 r2178 184 184 kmk_DEFS.x86 = CONFIG_WITH_OPTIMIZATION_HACKS 185 185 kmk_DEFS.amd64 = CONFIG_WITH_OPTIMIZATION_HACKS 186 kmk_DEFS.win = CONFIG_NEW_WIN32_CTRL_EVENT 186 kmk_DEFS.win = CONFIG_NEW_WIN32_CTRL_EVENT CONFIG_WITH_FAST_IS_SPACE 187 187 kmk_DEFS.debug = CONFIG_WITH_MAKE_STATS 188 188 -
trunk/src/kmk/config.h.win
r2134 r2178 147 147 148 148 /* Define to 1 if you have the <locale.h> header file. */ 149 /*#define HAVE_LOCALE_H 1*/ 149 #define HAVE_LOCALE_H 1 150 150 151 151 /* Define to 1 if you have the <mach/mach.h> header file. */ … … 444 444 445 445 /* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */ 446 #if 0 446 447 #define uintmax_t unsigned long 448 #else 449 #define uintmax_t unsigned __int64 450 #endif 447 451 448 452 /* Define as `fork' if `vfork' does not work. */ 449 453 /*#define vfork fork*/ 450 454 455 #if 0/* see above */ 451 456 /* Define to `unsigned long' or `unsigned long long' 452 457 if <inttypes.h> doesn't define. */ 453 458 #define uintmax_t unsigned long 459 #endif 454 460 455 461 /* Define if you support file names longer than 14 characters. */ … … 527 533 #include "inlined_memchr.h" 528 534 529 #if 1535 #ifdef CONFIG_WITH_FAST_IS_SPACE 530 536 # include <ctype.h> 531 537 # if _MSC_VER >= 1400 -
trunk/src/kmk/kmkbuiltin/mscfakes.h
r2019 r2178 48 48 49 49 50 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) 51 #define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) 50 #ifndef S_ISDIR 51 # define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) 52 #endif 53 #ifndef S_ISREG 54 # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) 55 #endif 52 56 #define S_ISLNK(m) 0 53 57 #define S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC) … … 67 71 #define ALLPERMS 0000777 68 72 69 #define PATH_MAX _MAX_PATH 73 #undef PATH_MAX 74 #define PATH_MAX _MAX_PATH 75 #undef MAXPATHLEN 70 76 #define MAXPATHLEN _MAX_PATH 71 77 … … 88 94 #define _PATH_DEVNULL "/dev/null" 89 95 90 #define MAX(a,b) ((a) >= (b) ? (a) : (b)) 96 #ifndef MAX 97 # define MAX(a,b) ((a) >= (b) ? (a) : (b)) 98 #endif 91 99 92 100 typedef int mode_t; 93 101 typedef unsigned short nlink_t; 102 #if 0 /* found in config.h */ 94 103 typedef unsigned short uid_t; 95 104 typedef unsigned short gid_t; 105 #endif 96 106 typedef long ssize_t; 97 107 typedef unsigned long u_long; … … 114 124 115 125 typedef __int64 intmax_t; 126 #if 0 /* found in config.h */ 116 127 typedef unsigned __int64 uintmax_t; 128 #endif 117 129 118 130 #define chown(path, uid, gid) 0 /** @todo implement fchmod! */ -
trunk/src/kmk/main.c
r2103 r2178 1311 1311 } 1312 1312 1313 #if defined(set_space_map_entry)/*bird*/1313 #ifdef CONFIG_WITH_FAST_IS_SPACE /*bird*/ 1314 1314 char space_map[space_map_size]; 1315 #endif /* set_space_map_entry*/1315 #endif /* CONFIG_WITH_FAST_IS_SPACE */ 1316 1316 1317 1317 … … 1341 1341 no_default_sh_exe = 1; 1342 1342 #endif 1343 # if defined(set_space_map_entry)/* bird */1343 # ifdef CONFIG_WITH_FAST_IS_SPACE /* bird */ 1344 1344 memset (space_map, '\0', sizeof(space_map)); 1345 1345 set_space_map_entry (' '); … … 1349 1349 set_space_map_entry ('\t'); 1350 1350 set_space_map_entry ('\v'); 1351 # endif 1351 # endif /* CONFIG_WITH_FAST_IS_SPACE */ 1352 1352 1353 1353 #ifdef CONFIG_WITH_PRINT_TIME_SWITCH
Note:
See TracChangeset
for help on using the changeset viewer.