VirtualBox

source: kBuild/vendor/grep/3.7/m4/windows-stat-inodes.m4

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

  • Property svn:eol-style set to LF
File size: 784 bytes
Line 
1# windows-stat-inodes.m4 serial 1
2dnl Copyright (C) 2017-2021 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7dnl Enable inode identification in 'struct stat' on native Windows platforms.
8dnl Set WINDOWS_STAT_INODES to
9dnl - 0 -> keep the default (dev_t = 32-bit, ino_t = 16-bit),
10dnl - 1 -> override types normally (dev_t = 32-bit, ino_t = 64-bit),
11dnl - 2 -> override types in an extended way (dev_t = 64-bit, ino_t = 128-bit).
12AC_DEFUN([gl_WINDOWS_STAT_INODES],
13[
14 AC_REQUIRE([AC_CANONICAL_HOST])
15 case "$host_os" in
16 mingw*) WINDOWS_STAT_INODES=1 ;;
17 *) WINDOWS_STAT_INODES=0 ;;
18 esac
19])
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette