comparison src/sysfile.h @ 3368:959746c534f6

[xemacs-hg @ 2006-04-29 16:15:21 by aidan] Support builtin functions in find-function.
author aidan
date Sat, 29 Apr 2006 16:15:31 +0000
parents facf3239ba30
children b544987e2eca
comparison
equal deleted inserted replaced
3367:84ee3ca77e7f 3368:959746c534f6
445 IS_DEVICE_SEP() returns true if the character is a device separator. 445 IS_DEVICE_SEP() returns true if the character is a device separator.
446 IS_ANY_SEP() returns true if the character is a directory or device 446 IS_ANY_SEP() returns true if the character is a directory or device
447 separator. 447 separator.
448 */ 448 */
449 449
450 #ifdef emacs
451
452 /* We used to put some of this stuff in the s+m files for the various 450 /* We used to put some of this stuff in the s+m files for the various
453 types of MS Windows, but that's disingenuous. The various definitions 451 types of MS Windows, but that's disingenuous. The various definitions
454 above were specifically created for MS Windows, and the "if not, then 452 above were specifically created for MS Windows, and the "if not, then
455 let's define the defaults" stuff (formerly in lisp.h) specifically knows 453 let's define the defaults" stuff (formerly in lisp.h) specifically knows
456 about what is going to get redefined and how, and code all over the 454 about what is going to get redefined and how, and code all over the
516 #define IS_DEVICE_SEP(c) 0 514 #define IS_DEVICE_SEP(c) 0
517 #define IS_DIRECTORY_SEP(c) ((c) == DIRECTORY_SEP) 515 #define IS_DIRECTORY_SEP(c) ((c) == DIRECTORY_SEP)
518 #define IS_ANY_SEP(c) IS_DIRECTORY_SEP (c) 516 #define IS_ANY_SEP(c) IS_DIRECTORY_SEP (c)
519 517
520 #endif /* WIN32_ANY */ 518 #endif /* WIN32_ANY */
519
520 /* How long can a source filename be in DOC (including "\037S" at the start
521 and "\n" at the end) ? */
522 #define DOC_MAX_FILENAME_LENGTH 2048
523
524 #ifdef emacs
521 525
522 #if defined (WIN32_NATIVE) 526 #if defined (WIN32_NATIVE)
523 #define PATHNAME_RESOLVE_LINKS(path, pathout) \ 527 #define PATHNAME_RESOLVE_LINKS(path, pathout) \
524 do \ 528 do \
525 { \ 529 { \