3 # Define some macros required for proper operation of code in lib/*.c
4 # on MSDOS/Windows systems.
10 #if defined _WIN32 || defined __WIN32__ || defined __MSDOS__
11 ac_fspl_def="((Filename)[0] && (Filename)[1] == ':' ? 2 : 0)"
13 AC_DEFINE_UNQUOTED([FILESYSTEM_PREFIX_LEN], $ac_fspl_def,
14 [On systems for which file names may have a so-called `drive letter'
15 prefix, define this to compute the length of that prefix, including
16 the colon. Otherwise, define it to zero.])
18 ac_isslash_def="((C) == '/' || (C) == '\\')"
19 ac_isslash_def="((C) == '/')"
20 AC_DEFINE_UNQUOTED([ISSLASH], $ac_isslash_def,
21 [Define to return nonzero for any character that may serve as
22 a file name component separator. On POSIX systems, it is the
23 slash character. Some other systems also accept backslash.])