Mercurial > hg > xemacs-beta
comparison lib-src/make-path.c @ 5091:ed624ab64583
fix compile errors/warnings
-------------------- ChangeLog entries follow: --------------------
lib-src/ChangeLog addition:
2010-03-02 Ben Wing <ben@xemacs.org>
* digest-doc.c:
* make-path.c:
`emacs' isn't defined, but HAVE_CONFIG_H is, so use it to get
config.h.
* getopt.h:
Conditionalize on HAVE_CONFIG_H to get real prototypes.
src/ChangeLog addition:
2010-03-02 Ben Wing <ben@xemacs.org>
* Makefile.in.in:
* Makefile.in.in (objs):
glyphs-shared.o, glyphs-eimage.o only needed when HAVE_WINDOW_SYSTEM.
glyphs-widget.o should be too, but we need a bit of work ifdeffing
out the subwindow stuff from redisplay.c et al.
* bytecode.c (init_opcode_table_multi_op):
Change var name to avoid shadowing with `basename'.
* emacs.c (main_1):
Don't call init/etc. routines for glyphs-shared, glyphs-eimage unless
HAVE_WINDOW_SYSTEM is defined.
* linuxplay.c:
* linuxplay.c (sighandler):
* vdb-posix.c (vdb_fault_handler):
Use const for variables holding string constants to avoid C++
warnings.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 02 Mar 2010 05:22:10 -0600 |
parents | 023b83f4e54b |
children | cd167465bf69 061f4f90f874 |
comparison
equal
deleted
inserted
replaced
5083:88f955fa5a7f | 5091:ed624ab64583 |
---|---|
24 intermediate directories if they don't exist. This is just like | 24 intermediate directories if they don't exist. This is just like |
25 the `mkdir -p' command on most systems; unfortunately, the mkdir | 25 the `mkdir -p' command on most systems; unfortunately, the mkdir |
26 command on some of the purer BSD systems (like Mt. Xinu) don't have | 26 command on some of the purer BSD systems (like Mt. Xinu) don't have |
27 that option. */ | 27 that option. */ |
28 | 28 |
29 #ifdef emacs | 29 #ifdef HAVE_CONFIG_H |
30 #include <config.h> | 30 #include <config.h> |
31 #endif | 31 #endif |
32 | 32 |
33 #include <sys/types.h> | 33 #include <sys/types.h> |
34 #include <sys/stat.h> | 34 #include <sys/stat.h> |