MS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.

lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
 ($(BLD)/memrchr.$(O)): New dependency.

 nt/inc/ms-w32.h: Add prototype for memrchr.
This commit is contained in:
Eli Zaretskii 2013-02-12 05:52:04 +02:00
parent 71b8431643
commit 8c0905acd1
4 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-02-12 Eli Zaretskii <eliz@gnu.org>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
($(BLD)/memrchr.$(O)): New dependency.
2013-02-11 Paul Eggert <eggert@cs.ucla.edu>
Tune by using memchr and memrchr.

View file

@ -34,6 +34,7 @@ GNULIBOBJS = $(BLD)/c-ctype.$(O) \
$(BLD)/getopt.$(O) \
$(BLD)/getopt1.$(O) \
$(BLD)/gettime.$(O) \
$(BLD)/memrchr.$(O) \
$(BLD)/strftime.$(O) \
$(BLD)/time_r.$(O) \
$(BLD)/timespec-add.$(O) \
@ -201,6 +202,10 @@ $(BLD)/md5.$(O) : \
$(CONFIG_H) \
$(MD5_H)
$(BLD)/memrchr.$(O) : \
$(GNU_LIB)/memrchr.c \
$(CONFIG_H)
$(BLD)/sha1.$(O) : \
$(GNU_LIB)/sha1.c \
$(NT_INC)/stdalign.h \

View file

@ -1,3 +1,7 @@
2013-02-12 Eli Zaretskii <eliz@gnu.org>
* inc/ms-w32.h: Add prototype for memrchr.
2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).

View file

@ -394,6 +394,9 @@ extern int sys_putenv (char *);
extern int getloadavg (double *, int);
extern int getpagesize (void);
extern void * memrchr (void const *, int, size_t);
#if defined (__MINGW32__)
/* Define to 1 if the system has the type `long long int'. */