summaryrefslogtreecommitdiffstats
path: root/src/windows/ntsecapitest.c
diff options
context:
space:
mode:
authorKevin Koch <kpkoch@mit.edu>2008-03-18 17:40:04 +0000
committerKevin Koch <kpkoch@mit.edu>2008-03-18 17:40:04 +0000
commitf62112276c2147b1334585322db40cd45da30ace (patch)
tree0f4e9313801d5a9347841306e731f37448157dd9 /src/windows/ntsecapitest.c
parent70c7c2cc98973d526de7e1e7f87f2b7e06e58867 (diff)
downloadkrb5-f62112276c2147b1334585322db40cd45da30ace.tar.gz
krb5-f62112276c2147b1334585322db40cd45da30ace.tar.xz
krb5-f62112276c2147b1334585322db40cd45da30ace.zip
Detect if the Vista version of ntsecapi.h is present
TargetVersion: 1.7 Component: krb5-libs Ticket: 19569 tAGS: PULLUP Subj: Tweaks for 1.7 build on Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20277 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/ntsecapitest.c')
-rw-r--r--src/windows/ntsecapitest.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/windows/ntsecapitest.c b/src/windows/ntsecapitest.c
new file mode 100644
index 000000000..7fbbacbaa
--- /dev/null
+++ b/src/windows/ntsecapitest.c
@@ -0,0 +1,11 @@
+/* Simple program to show what is in ntsecapi.h.
+ Compile -P to generate preprocessor output.
+ */
+
+#include "ntsecapi.h"
+
+#ifdef TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS
+VISTA_SDK_VERSION
+#else
+NT_SDK_VERSION
+#endif \ No newline at end of file