diff options
Diffstat (limited to 'gl/m4/off_t.m4')
-rw-r--r-- | gl/m4/off_t.m4 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gl/m4/off_t.m4 b/gl/m4/off_t.m4 new file mode 100644 index 00000000..d355d013 --- /dev/null +++ b/gl/m4/off_t.m4 | |||
@@ -0,0 +1,18 @@ | |||
1 | # off_t.m4 serial 1 | ||
2 | dnl Copyright (C) 2012-2013 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl Check whether to override the 'off_t' type. | ||
8 | dnl Set WINDOWS_64_BIT_OFF_T. | ||
9 | |||
10 | AC_DEFUN([gl_TYPE_OFF_T], | ||
11 | [ | ||
12 | m4_ifdef([gl_LARGEFILE], [ | ||
13 | AC_REQUIRE([gl_LARGEFILE]) | ||
14 | ], [ | ||
15 | WINDOWS_64_BIT_OFF_T=0 | ||
16 | ]) | ||
17 | AC_SUBST([WINDOWS_64_BIT_OFF_T]) | ||
18 | ]) | ||