mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
70b0d280eb
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and $(BLD)/time_r.$(O). ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and $(EMACS_ROOT)/src/m/intel386.h. ($(BLD)/strftime.$(O)): ($(BLD)/time_r.$(O)): Define prerequisites. src/makefile.w32-in (OBJ2): Remove strftime.$(O). ($(BLD)/strftime.$(O)): Remove prerequisites. lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. (ECLIENT_CFLAGS): Remove -DVERSION. ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in. nt/config.nt (VERSION): Uncomment definition. (restrict): Define. nt/inc/stdbool.h: New file. admin/admin.el (set-version): Remove lib-src/makefile.w32-in. Add nt/config.nt.
17 lines
264 B
C
17 lines
264 B
C
#ifndef _NT_STDBOOL_H_
|
|
#define _NT_STDBOOL_H_
|
|
/*
|
|
* stdbool.h exists in GCC, but not in MSVC.
|
|
*/
|
|
|
|
#ifdef __GNUC__
|
|
# include_next <stdbool.h>
|
|
#else
|
|
# define _Bool signed char
|
|
# define bool _Bool
|
|
# define false 0
|
|
# define true 1
|
|
#endif
|
|
|
|
#endif /* _NT_STDBOOL_H_ */
|