- Timestamp:
- Sep 15, 2006, 8:31:29 AM (19 years ago)
- Location:
- trunk/src/gmake
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/filedef.h
r503 r507 186 186 #define ORDINARY_MTIME_MAX ((FILE_TIMESTAMP_S (NEW_MTIME) \ 187 187 << FILE_TIMESTAMP_LO_BITS) \ 188 + ORDINARY_MTIME_MIN + FILE_TIMESTAMPS_PER_S - 1)188 + ORDINARY_MTIME_MIN + (FILE_TIMESTAMPS_PER_S - 1)) /* bird: MSC overflow fix */ 189 189 190 190 /* Modtime value to use for `infinitely new'. We used to get the current time -
trunk/src/gmake/glob/glob.c
r503 r507 370 370 size_t dirlen; 371 371 int status; 372 int oldcount;372 __size_t oldcount; /* bird: correct type. */ 373 373 374 374 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) … … 856 856 the pattern in each directory found. */ 857 857 glob_t dirs; 858 register int i;858 register __size_t i; /* bird: correct type. */ 859 859 860 860 status = glob (dirname, … … 1006 1006 { 1007 1007 /* Stick the directory on the front of each name. */ 1008 int ignore = oldcount;1008 __size_t ignore = oldcount; /* bird: correct type. */ 1009 1009 1010 1010 if ((flags & GLOB_DOOFFS) && ignore < pglob->gl_offs) … … 1024 1024 { 1025 1025 /* Append slashes to directory names. */ 1026 int i;1026 __size_t i; /* bird: correct type. */ 1027 1027 struct stat st; 1028 1028 for (i = oldcount; i < pglob->gl_pathc; ++i) … … 1068 1068 if (pglob->gl_pathv != NULL) 1069 1069 { 1070 register int i;1070 register __size_t i; /* bird: correct type */ 1071 1071 for (i = 0; i < pglob->gl_pathc; ++i) 1072 1072 if (pglob->gl_pathv[i] != NULL) -
trunk/src/gmake/kmkbuiltin.c
r377 r507 29 29 #include <stdio.h> 30 30 #include <ctype.h> 31 #ifdef _MSC_VER 32 # include <io.h> 33 #endif 31 34 #include "kmkbuiltin/err.h" 32 35 #include "kmkbuiltin.h" … … 38 41 int argc; 39 42 char **argv; 40 char *psz;41 43 int rc; 42 44 -
trunk/src/gmake/make.h
r503 r507 41 41 42 42 /* Use prototypes if available. */ 43 #if defined (__cplusplus) || defined (__STDC__) 43 #if defined (__cplusplus) || defined (__STDC__) || defined WINDOWS32 44 44 # undef PARAMS 45 45 # define PARAMS(protos) protos
Note:
See TracChangeset
for help on using the changeset viewer.