diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-08-19 21:25:48 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-08-19 21:25:48 -0700 |
| commit | 55e839e378416b70720308e86439e2ad6ecccc4a (patch) | |
| tree | 7a1b3c7de312a3debae53eb7a7fb5a52aa1d3e4e /Makefile | |
| parent | 6457e58c8fc00ef1c72724dad5f8baf54cfee5a2 (diff) | |
| parent | 180964f0b98344f3127d6b8167cec8a07ef663ad (diff) | |
| download | git-55e839e378416b70720308e86439e2ad6ecccc4a.tar.xz | |
Merge branch 'js/mingw-stat'
* js/mingw-stat:
Revert "Windows: Use a customized struct stat that also has the st_blocks member."
compat: introduce on_disk_bytes()
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -124,6 +124,9 @@ all:: # Define USE_STDEV below if you want git to care about the underlying device # change being considered an inode change from the update-index perspective. # +# Define NO_ST_BLOCKS_IN_STRUCT_STAT if your platform does not have st_blocks +# field that counts the on-disk footprint in 512-byte blocks. +# # Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8 # # Define DOCBOOK_XSL_172 if you want to format man pages with DocBook XSL v1.72. @@ -749,6 +752,7 @@ ifneq (,$(findstring MINGW,$(uname_S))) NO_SVN_TESTS = YesPlease NO_PERL_MAKEMAKER = YesPlease NO_POSIX_ONLY_PROGRAMS = YesPlease + NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -DNOGDI -Icompat COMPAT_CFLAGS += -DSNPRINTF_SIZE_CORR=1 COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\" @@ -863,6 +867,9 @@ endif ifdef NO_D_INO_IN_DIRENT BASIC_CFLAGS += -DNO_D_INO_IN_DIRENT endif +ifdef NO_ST_BLOCKS_IN_STRUCT_STAT + BASIC_CFLAGS += -DNO_ST_BLOCKS_IN_STRUCT_STAT +endif ifdef NO_C99_FORMAT BASIC_CFLAGS += -DNO_C99_FORMAT endif |
