httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr_portable.h
Date Mon, 30 Aug 1999 14:42:33 GMT
bjh         99/08/30 07:42:32

  Modified:    src/lib/apr/include apr_portable.h
  Log:
  APR OS/2 - add ap_os_* type defines for OS/2.
  
  Revision  Changes    Path
  1.2       +13 -0     apache-2.0/src/lib/apr/include/apr_portable.h
  
  Index: apr_portable.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_portable.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_portable.h	1999/08/17 15:59:37	1.1
  +++ apr_portable.h	1999/08/30 14:42:32	1.2
  @@ -95,6 +95,19 @@
   typedef PROCESS_INFORMATION   ap_os_proc_t;
   typedef DWORD                 ap_os_threadkey_t; 
   typedef SYSTEMTIME            ap_os_time_t;
  +
  +#elif defined(OS2)
  +#define INCL_DOS
  +#include <os2.h>
  +typedef HFILE                 ap_os_file_t;
  +typedef HDIR                  ap_os_dir_t;
  +typedef int                   ap_os_sock_t;
  +typedef HMTX                  ap_os_lock_t;
  +typedef TID                   ap_os_thread_t;
  +typedef PID                   ap_os_proc_t;
  +typedef PULONG                ap_os_threadkey_t; 
  +typedef struct timeval        ap_os_time_t;
  +
   #else
   /* Any other OS should go above this one.  This is the lowest common
    * denominator typedefs for  all UNIX-like systems.  :)
  
  
  

Mime
View raw message