apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/include apr_portable.h
Date Wed, 18 Apr 2001 20:47:20 GMT
dreid       01/04/18 13:47:20

  Modified:    include  apr_portable.h
  Log:
  Try to add the apr_os_dso_handle_t typedefs for those platforms
  that use the unix dso code.  This isn't complete and may not even build
  but does get us building again on FreeBSD.
  
  Revision  Changes    Path
  1.49      +9 -1      apr/include/apr_portable.h
  
  Index: apr_portable.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_portable.h,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- apr_portable.h	2001/04/18 20:37:39	1.48
  +++ apr_portable.h	2001/04/18 20:47:19	1.49
  @@ -183,7 +183,15 @@
   typedef pid_t                 apr_os_proc_t;
   typedef struct timeval        apr_os_imp_time_t;
   typedef struct tm             apr_os_exp_time_t;
  -/* insert dso typedef here */
  +/* dso types... */
  +#if defined(HPUX) || defined(HPUX10) || defined(HPUX11)
  +typedef shl_t                 apr_os_dso_handle_t;
  +#elif defined(DRAWIN)
  +typedef NSModule              apr_os_dso_handle_t;
  +#else
  +typedef void *                apr_os_dso_handle_t;
  +#endif
  +
   #endif
   
   /**
  
  
  

Mime
View raw message