From 5c0c0e8a1a3eeb60e58e9dc4b043a8db3e72ca3e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 31 Jul 2012 21:43:08 -0400 Subject: Move definitions of directory and device separators to configure * configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Move here from src/lisp.h. * src/lisp.h (IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Move to configure.ac. --- src/ChangeLog | 5 +++++ src/lisp.h | 17 ----------------- 2 files changed, 5 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index bf172320eed..c810675c4a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-08-01 Glenn Morris + + * lisp.h (IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): + Move to configure.ac. + 2012-08-01 Juanma Barranquero * makefile.w32-in (CONFIG_H): Update dependencies. diff --git a/src/lisp.h b/src/lisp.h index 147a4781937..55f8677f9a5 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3305,24 +3305,7 @@ extern char *egetenv (const char *); /* Set up the name of the machine we're running on. */ extern void init_system_name (void); -/* Some systems (e.g., NT) use a different path separator than Unix, - in addition to a device separator. Set the path separator - to '/', and don't test for a device separator in IS_ANY_SEP. */ - static char const DIRECTORY_SEP = '/'; -#ifndef IS_DIRECTORY_SEP -#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) -#endif -#ifndef IS_DEVICE_SEP -#ifndef DEVICE_SEP -#define IS_DEVICE_SEP(_c_) 0 -#else -#define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP) -#endif -#endif -#ifndef IS_ANY_SEP -#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_)) -#endif /* Use this to suppress gcc's warnings. */ #ifdef lint -- cgit v1.2.1