You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2002/02/12 02:44:45 UTC

cvs commit: apr/include/arch/win32 apr_private.h

wrowe       02/02/11 17:44:45

  Modified:    include/arch/win32 apr_private.h
  Log:
    Another few WinCE disparities, there is no ACLAPI (security), nor does
    CE support errno.  I'm not sure I care for the later fixup, but can see
    where it causes headaches in Unix-shared code.
    Submitted by Mladen Turk <mt...@mappingsoft.com>
  
  Revision  Changes    Path
  1.30      +8 -0      apr/include/arch/win32/apr_private.h
  
  Index: apr_private.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/apr_private.h,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- apr_private.h	29 Jan 2002 07:11:25 -0000	1.29
  +++ apr_private.h	12 Feb 2002 01:44:45 -0000	1.30
  @@ -82,6 +82,7 @@
    * not with APR itself, until some GUI-related security is introduced.]
    */
   #ifndef _WIN32_WCE
  +#define HAVE_ACLAPI 1
   #ifdef __wtypes_h__
   #include <accctrl.h>
   #else
  @@ -89,6 +90,8 @@
   #include <accctrl.h>
   #undef __wtypes_h__
   #endif
  +#else
  +#define HAVE_ACLAPI 0
   #endif
   
   #if APR_HAVE_SYS_TYPES_H
  @@ -168,6 +171,11 @@
   
   unsigned __stdcall SignalHandling(void *);
   int thread_ready(void);
  +
  +#if !APR_HAVE_ERRNO_H
  +APR_DECLARE_DATA int errno;
  +#define ENOSPC 1
  +#endif
   
   #endif  /*APR_PRIVATE_H*/
   #endif  /*WIN32*/