summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Kaduk <kaduk@mit.edu>2013-02-25 13:12:33 -0500
committerBen Kaduk <kaduk@mit.edu>2013-02-25 16:56:18 -0500
commitea5867f4c2283e0ef5ca51109010cfa26d6e5669 (patch)
treec76f3badb5c2c45fd4c56ead812f74f584cd7581
parent767a8e0074b0ad6dcba1316ea4b5cb690634e70d (diff)
downloadkrb5-ea5867f4c2283e0ef5ca51109010cfa26d6e5669.tar.gz
krb5-ea5867f4c2283e0ef5ca51109010cfa26d6e5669.tar.xz
krb5-ea5867f4c2283e0ef5ca51109010cfa26d6e5669.zip
Fix windows build
Catch up to the split of preauth_plugin.h into client and kdc specific portions. While here, use copy's /y flag to suppress an override-confirmation prompt (though we do not list any dependencies for this target at the moment, so no such prompt will be generated). Do not disable library finalizers for windows, erroneously disabled in 4538146e1452e0966164119cefb0804993ce6bbb.
-rw-r--r--src/include/Makefile.in2
-rw-r--r--src/include/k5-platform.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/Makefile.in b/src/include/Makefile.in
index fffe768002..50023492fa 100644
--- a/src/include/Makefile.in
+++ b/src/include/Makefile.in
@@ -101,7 +101,7 @@ private-and-public-decls: $(HEADERS_TO_CHECK)
cat $(HEADERS_TO_CHECK) > $@
##DOS##!endif
##DOS##private-and-public-decls:
-##DOS## copy krb5\krb5.h+k5-int.h+krb5\preauth_plugin.h $@
+##DOS## copy /y krb5\krb5.h+k5-int.h+krb5\clpreauth_plugin.h $@
#
# Build the error table include files:
diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h
index f4021da71f..ad7888ab12 100644
--- a/src/include/k5-platform.h
+++ b/src/include/k5-platform.h
@@ -347,7 +347,7 @@ typedef struct { int error; unsigned char did_run; } k5_init_t;
-#if !defined(SHARED)
+#if !defined(SHARED) && !defined(_WIN32)
/*
* In this case, we just don't care about finalization.