home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / libc / sys / types.h < prev    next >
Text File  |  1999-03-15  |  2KB  |  76 lines

  1. #if __IBMC__ || __IBMCPP__
  2. #pragma info( none )
  3. #ifndef __CHKHDR__
  4.    #pragma info( none )
  5. #endif
  6. #pragma info( restore )
  7. #endif
  8.  
  9. #ifndef __types_h
  10.    #define __types_h
  11.  
  12.    #ifdef __cplusplus
  13.       extern "C" {
  14.    #endif
  15.  
  16.    /********************************************************************/
  17.    /*  <sys\types.h> header file                                       */
  18.    /*                                                                  */
  19.    /*  (C) Copyright IBM Corp. 1991, 1995.                             */
  20.    /*  - Licensed Material - Program-Property of IBM                   */
  21.    /*  - All rights reserved                                           */
  22.    /*                                                                  */
  23.    /********************************************************************/
  24.  
  25.    #ifndef __ANSI__
  26.  
  27.       #ifndef __SAA_L2__
  28.  
  29.          #if defined(__EXTENDED__)
  30.  
  31.             #ifndef __ssize_t
  32.                typedef signed int ssize_t;  
  33.                #define __ssize_t
  34.             #endif
  35.  
  36.             #ifndef __ino_t
  37.                typedef unsigned short ino_t;
  38.                #define __ino_t
  39.             #endif
  40.  
  41.             #ifndef __time_t
  42.                #define __time_t
  43.                typedef long time_t;
  44.             #endif
  45.  
  46.             #ifndef __dev_t
  47.                typedef short dev_t;
  48.                #define __dev_t
  49.             #endif
  50.  
  51.             #ifndef __off_t
  52.                typedef long off_t;
  53.                #define __off_t
  54.             #endif
  55.  
  56.          #endif
  57.  
  58.       #endif
  59.  
  60.    #endif
  61.  
  62.    #ifdef __cplusplus
  63.       }
  64.    #endif
  65.  
  66. #endif
  67.  
  68. #if __IBMC__ || __IBMCPP__
  69. #pragma info( none )
  70. #ifndef __CHKHDR__
  71.    #pragma info( restore )
  72. #endif
  73. #pragma info( restore )
  74. #endif
  75.  
  76.