Changeset 2619 for trunk/texinfo/lib
- Timestamp:
- Mar 12, 2006, 6:02:46 PM (19 years ago)
- Location:
- trunk/texinfo/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/texinfo/lib/Makefile.am
r2617 r2619 18 18 gettext.h \ 19 19 strcase.h strdup.h substring.c system.h \ 20 xalloc.h xexit.c xmalloc.c xstrdup.c 20 xalloc.h xexit.c xmalloc.c xstrdup.c \ 21 pc.c pc.h 21 22 libtxi_a_LIBADD = $(LIBOBJS) $(ALLOCA) 22 23 libtxi_a_DEPENDENCIES = $(libtxi_a_LIBADD) -
trunk/texinfo/lib/system.h
r2617 r2619 28 28 #ifdef MIKTEX 29 29 #include <gnu-miktex.h> 30 #define S_ISDIR(x) ((x)&_S_IFDIR) 30 #define S_ISDIR(x) ((x)&_S_IFDIR) 31 31 #else 32 32 /* MiKTeX defines substring() in a separate DLL, where it has its 33 own __declspec declaration. We don't want to try to duplicate 33 own __declspec declaration. We don't want to try to duplicate 34 34 this Microsoft-ism here. */ 35 35 extern char *substring (const char *, const char *); … … 213 213 # define DEFAULT_INFO_PRINT_COMMAND ">PRN" 214 214 # else /* O_BINARY && !__MSDOS__ */ 215 # define setmode(f,m) _setmode(f,m) 216 # define HAVE_LONG_FILENAMES(dir) (1) 217 # define NULL_DEVICE "NUL" 215 # ifdef __EMX__ 216 # define NULL_DEVICE "nul" 217 # define HAVE_LONG_FILENAMES(dir) (1) 218 # define DEFAULT_INFO_PRINT_COMMAND "expand --tabs=4 >>InfoLog.tmp" 219 # else 220 # define setmode(f,m) _setmode(f,m) 221 # define HAVE_LONG_FILENAMES(dir) (1) 222 # define NULL_DEVICE "NUL" 223 # endif /* !__EMX__ */ 218 224 # endif /* O_BINARY && !__MSDOS__ */ 219 225 # ifdef __CYGWIN__ … … 229 235 # define FOPEN_RBIN "rb" 230 236 # define FOPEN_WBIN "wb" 237 # ifdef __EMX__ /* bird - start */ 238 # define FOPEN_RTXT "rt" 239 # define FOPEN_WTXT "wt" 240 # else 241 # define FOPEN_RTXT "r" 242 # define FOPEN_WTXT "w" 243 # endif /* bird - end */ 231 244 # define HAVE_DRIVE(n) ((n)[0] && (n)[1] == ':') 232 245 # define IS_SLASH(c) ((c) == '/' || (c) == '\\') … … 240 253 # define FOPEN_RBIN "r" 241 254 # define FOPEN_WBIN "w" 255 # define FOPEN_RTXT "r" /* bird */ 256 # define FOPEN_WTXT "w" /* bird */ 242 257 # define IS_SLASH(c) ((c) == '/') 243 258 # define HAVE_DRIVE(n) (0)
Note:
See TracChangeset
for help on using the changeset viewer.