Mercurial > gnulib
annotate modules/memrchr-tests @ 17363:5a51fb7777a9
sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin
Problem reported by Marco Atzeri in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>.
* lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]:
Simply delegate to the system <sys/select.h> in this case too.
Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only
if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to
be needed on Solaris either.
* lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]:
Simply delgate to the system <sys/time.h> in this case.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 19 Mar 2013 09:08:47 -0700 |
parents | a48d3d749ca5 |
children |
rev | line source |
---|---|
9983 | 1 Files: |
2 tests/test-memrchr.c | |
11570
1e84e9b3384a
Make some tests ISO C 99 compliant.
Bruno Haible <bruno@clisp.org>
parents:
9983
diff
changeset
|
3 tests/zerosize-ptr.h |
12496
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
12489
diff
changeset
|
4 tests/signature.h |
a48d3d749ca5
Refactor common macros used in tests.
Bruno Haible <bruno@clisp.org>
parents:
12489
diff
changeset
|
5 tests/macros.h |
11570
1e84e9b3384a
Make some tests ISO C 99 compliant.
Bruno Haible <bruno@clisp.org>
parents:
9983
diff
changeset
|
6 m4/mmap-anon.m4 |
9983 | 7 |
8 Depends-on: | |
11571
0d26e7ef3771
mmap-anon: avoid out-of-order autoconf expansion
Eric Blake <ebb9@byu.net>
parents:
11570
diff
changeset
|
9 extensions |
11570
1e84e9b3384a
Make some tests ISO C 99 compliant.
Bruno Haible <bruno@clisp.org>
parents:
9983
diff
changeset
|
10 getpagesize |
9983 | 11 |
12 configure.ac: | |
11570
1e84e9b3384a
Make some tests ISO C 99 compliant.
Bruno Haible <bruno@clisp.org>
parents:
9983
diff
changeset
|
13 gl_FUNC_MMAP_ANON |
11580
89e9741f299f
Make zeroptr.h work on mingw.
Bruno Haible <bruno@clisp.org>
parents:
11571
diff
changeset
|
14 AC_CHECK_HEADERS_ONCE([sys/mman.h]) |
11570
1e84e9b3384a
Make some tests ISO C 99 compliant.
Bruno Haible <bruno@clisp.org>
parents:
9983
diff
changeset
|
15 AC_CHECK_FUNCS_ONCE([mprotect]) |
9983 | 16 |
17 Makefile.am: | |
18 TESTS += test-memrchr | |
19 check_PROGRAMS += test-memrchr |