You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bi...@apache.org on 2004/05/05 08:30:30 UTC

cvs commit: jakarta-commons/daemon/src/native/nt/procrun/include handles.h

billbarker    2004/05/04 23:30:30

  Modified:    daemon/src/native/nt/procrun/include handles.h
  Log:
  Fix dependancy on MSVC v7 compiler.
  
  Revision  Changes    Path
  1.2       +4 -0      jakarta-commons/daemon/src/native/nt/procrun/include/handles.h
  
  Index: handles.h
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/daemon/src/native/nt/procrun/include/handles.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- handles.h	7 Apr 2004 11:23:46 -0000	1.1
  +++ handles.h	5 May 2004 06:30:30 -0000	1.2
  @@ -43,7 +43,11 @@
   typedef BOOL (*LPAPXFNCALLBACK)(APXHANDLE hObject, UINT uMsg,
                                   WPARAM wParam, LPARAM lParam);
   
  +#if _MSC_VER >= 1300
   #define APXHANDLE_INVALID               ((void *)0xdeadbeefLL)
  +#else
  +#define APXHANDLE_INVALID               ((void *)0xdeadbeefL)
  +#endif
   
   #define APXHANDLE_HOOK_FIRST            0
   #define APXHANDLE_HOOK_LAST             1
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org