home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / sys / types.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-20  |  2.1 KB  |  86 lines

  1. #if (defined(__IBMC__) || defined(__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.    #ifndef  _LNK_CONV
  17.      #ifdef _M_I386
  18.          #define  _LNK_CONV   _Optlink
  19.      #else
  20.        #define  _LNK_CONV
  21.      #endif
  22.    #endif
  23.  
  24.    /********************************************************************/
  25.    /*  <sys\types.h> header file                                       */
  26.    /*                                                                  */
  27.    /*  VisualAge for C++ for Windows, Version 3.5                      */
  28.    /*    Licensed Material - Property of IBM                           */
  29.    /*                                                                  */
  30.    /*  5801-ARR and Other Materials                                    */
  31.    /*                                                                  */
  32.    /*  (c) Copyright IBM Corp 1991, 1996. All rights reserved.         */
  33.    /*                                                                  */
  34.    /********************************************************************/
  35.  
  36.    #ifndef __ANSI__
  37.  
  38.       #ifndef __SAA_L2__
  39.  
  40.          #if defined(__EXTENDED__)
  41.  
  42.          #ifndef __ssize_t
  43.             typedef signed int ssize_t;
  44.             #define __ssize_t
  45.          #endif
  46.  
  47.          #ifndef __ino_t
  48.             typedef unsigned short ino_t;
  49.             #define __ino_t
  50.          #endif
  51.  
  52.          #ifndef __time_t
  53.             #define __time_t
  54.             typedef long time_t;
  55.          #endif
  56.  
  57.          #ifndef __dev_t
  58.             typedef short dev_t;
  59.             #define __dev_t
  60.          #endif
  61.  
  62.          #ifndef __off_t
  63.             typedef long off_t;
  64.             #define __off_t
  65.          #endif
  66.  
  67.          #endif
  68.  
  69.       #endif
  70.  
  71.    #endif
  72.  
  73.    #ifdef __cplusplus
  74.       }
  75.    #endif
  76.  
  77. #endif
  78.  
  79. #if (defined(__IBMC__) || defined(__IBMCPP__))
  80. #pragma info( none )
  81. #ifndef __CHKHDR__
  82.    #pragma info( restore )
  83. #endif
  84. #pragma info( restore )
  85. #endif
  86.