Annotation of pgp/src/system.h, revision 1.1.1.4

1.1.1.4 ! root        1: #ifndef SYSTEM_H
        !             2: #define SYSTEM_H
        !             3: 
        !             4: #ifdef AMIGA
        !             5: int AmigaRequestString(char *, int, int);
        !             6: extern char *requesterdesc;
        !             7: #ifdef getenv
        !             8: #undef getenv
        !             9: #endif
        !            10: #define getenv(name) amiga_getenv(name)
        !            11: #endif /* AMIGA */
        !            12: 
        !            13: #ifdef UNIX
        !            14: #if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD)
        !            15: #define HAVE_UNISTD_H
        !            16: #endif
        !            17: 
        !            18: #ifdef HAVE_UNISTD_H
        !            19: #include <unistd.h>
        !            20: #else
        !            21: #include <stdio.h>
        !            22: #include <sys/types.h>
        !            23: #endif
        !            24: 
        !            25: int getch();
        !            26: int kbhit();
        !            27: 
        !            28: /* replacement function for obsolete clock(), just provides random data */
        !            29: long Clock();
        !            30: 
        !            31: #endif /* UNIX */
        !            32: 
        !            33: #ifdef MACTC5
        !            34: int    getch(void);
        !            35: int    kbhit(void);
        !            36: #endif
        !            37: 
        !            38: #ifdef WIN32
        !            39: #include <stdio.h>
        !            40: #include <sys/types.h>
        !            41: #include <conio.h>
        !            42: #ifdef min /* These are re-defined in stdlib.h */
        !            43: #undef min
        !            44: #endif
        !            45: #ifdef max
        !            46: #undef max
        !            47: #endif
        !            48: #include <stdlib.h>
        !            49: #define sleep _sleep
        !            50: #include <memory.h>
        !            51: #include <io.h>
        !            52: #endif
        !            53: 
        !            54: #if defined(UNIX) || defined(AMIGA) || defined(VMS)
        !            55: void ttycbreak();
        !            56: void ttynorm();
        !            57: #else
        !            58: #define ttycbreak()    /* nothing */
        !            59: #define ttynorm()      /* nothing */
        !            60: #endif
        !            61: 
        !            62: #if !defined(MSDOS) && !defined(ATARI)
        !            63: char *strlwr(char *);
        !            64: #endif
        !            65: 
        !            66: void breakHandler(int);
        !            67: 
        !            68: #endif /* SYSTEM_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.