You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/05 09:18:23 UTC

svn commit: r811595 - /commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h

Author: mturk
Date: Sat Sep  5 07:18:23 2009
New Revision: 811595

URL: http://svn.apache.org/viewvc?rev=811595&view=rev
Log:
Add vista SDK define

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h?rev=811595&r1=811594&r2=811595&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch_private.h Sat Sep  5 07:18:23 2009
@@ -30,6 +30,16 @@
 #include <winioctl.h>
 #include <wtsapi32.h>
 
+#if defined(NTDDI_VISTA)
+#if defined(NTDDI_VERSION >= NTDDI_VISTA)
+#define ACR_HAVE_VISTA_SDK  1
+#else
+#define ACR_HAVE_VISTA_SDK  0
+#endif
+#else
+#define ACR_HAVE_VISTA_SDK  0
+#endif
+
 #if HAVE_FILEEXTD_H
 #if !defined (NTDDI_VISTA)
 #include <fileextd.h>