httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr_portable.h
Date Mon, 13 Sep 1999 19:38:03 GMT
stoddard    99/09/13 12:38:02

  Modified:    src/lib/apr/include apr_portable.h
  Log:
  Prevent duplicate declarations
  
  Revision  Changes    Path
  1.4       +11 -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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr_portable.h	1999/09/07 13:16:40	1.3
  +++ apr_portable.h	1999/09/13 19:38:00	1.4
  @@ -57,7 +57,13 @@
    * This should be the only header file that programs need to include that 
    * actually has platform dependant code which refers to the .
    */
  +#ifndef APR_PORTABLE_H
  +#define APR_PORTABLE_H
   
  +#ifdef __cplusplus
  +extern "C" {
  +#endif /* __cplusplus */
  +
   #include "apr_general.h"
   #include "apr_thread_proc.h"
   #include "apr_file_io.h"
  @@ -192,3 +198,8 @@
   ap_status_t ap_put_os_time(ap_context_t *, ap_time_t **, ap_os_time_t *); 
   ap_status_t ap_put_os_threadkey(ap_context_t *, ap_key_t **, ap_os_threadkey_t *);
   
  +#ifdef __cplusplus
  +}
  +#endif
  +
  +#endif  /* ! APR_PORTABLE_H */
  
  
  

Mime
View raw message