Mercurial > hg > xemacs-beta
comparison nt/config.h @ 290:c9fe270a4101 r21-0b43
Import from CVS: tag r21-0b43
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:36:47 +0200 |
parents | 558f606b08ae |
children | 70ad99077275 |
comparison
equal
deleted
inserted
replaced
289:6e6992ccc4b6 | 290:c9fe270a4101 |
---|---|
545 | 545 |
546 /* If you turn this flag on, it forces encapsulation in all | 546 /* If you turn this flag on, it forces encapsulation in all |
547 circumstances; this can be used to make sure things compile OK | 547 circumstances; this can be used to make sure things compile OK |
548 on various systems. */ | 548 on various systems. */ |
549 #undef DEBUG_ENCAPSULATION | 549 #undef DEBUG_ENCAPSULATION |
550 #define DONT_ENCAPSULATE | 550 |
551 | 551 /* System calls that are encapsulated */ |
552 /* basic system calls */ | 552 #define ENCAPSULATE_RENAME |
553 | 553 #define ENCAPSULATE_OPEN |
554 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) | 554 #define ENCAPSULATE_FOPEN |
555 # define ENCAPSULATE_READ | 555 #define ENCAPSULATE_MKDIR |
556 # define ENCAPSULATE_WRITE | 556 |
557 #endif | 557 #if defined (WIN32) && defined (USE_IME) |
558 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION) | |
559 # define ENCAPSULATE_OPEN | |
560 #endif | |
561 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) | |
562 # define ENCAPSULATE_CLOSE | |
563 #endif | |
564 | |
565 /* stdio calls */ | |
566 | |
567 #if defined (INTERRUPTIBLE_IO) || defined (DEBUG_ENCAPSULATION) | |
568 # define ENCAPSULATE_FREAD | |
569 # define ENCAPSULATE_FWRITE | |
570 #endif | |
571 #if defined (INTERRUPTIBLE_OPEN) || defined (DEBUG_ENCAPSULATION) | |
572 # define ENCAPSULATE_FOPEN | |
573 #endif | |
574 #if defined (INTERRUPTIBLE_CLOSE) || defined (DEBUG_ENCAPSULATION) | |
575 # define ENCAPSULATE_FCLOSE | |
576 #endif | |
577 | |
578 /* directory calls */ | |
579 | |
580 #if defined (DEBUG_ENCAPSULATION) | |
581 # define ENCAPSULATE_CHDIR | |
582 # define ENCAPSULATE_MKDIR | |
583 # define ENCAPSULATE_OPENDIR | |
584 # define ENCAPSULATE_READDIR | |
585 # define ENCAPSULATE_RMDIR | |
586 #endif | |
587 | |
588 /* file-information calls */ | |
589 | |
590 #if defined (DEBUG_ENCAPSULATION) | |
591 # define ENCAPSULATE_ACCESS | |
592 # define ENCAPSULATE_LSTAT | |
593 # define ENCAPSULATE_READLINK | |
594 # define ENCAPSULATE_STAT | |
595 #endif | |
596 | |
597 /* file-manipulation calls */ | |
598 | |
599 #if defined (DEBUG_ENCAPSULATION) | |
600 # define ENCAPSULATE_CHMOD | |
601 # define ENCAPSULATE_CREAT | |
602 # define ENCAPSULATE_LINK | |
603 # define ENCAPSULATE_RENAME | |
604 # define ENCAPSULATE_SYMLINK | |
605 # define ENCAPSULATE_UNLINK | |
606 #endif | |
607 | |
608 #if (defined (MSDOS) && defined (FEPCTRL)) || (defined (WIN32) && defined (USE_IME)) | |
609 #define HAVE_FEP | 558 #define HAVE_FEP |
610 #endif | 559 #endif |
611 | 560 |
612 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) | 561 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) |
613 #define accept Raccept | 562 #define accept Raccept |