From: Ken Raeburn Date: Mon, 27 Mar 2006 20:53:18 +0000 (+0000) Subject: build and export set/reset_com_err_hook on windows X-Git-Tag: krb5-1.5-alpha1~157 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a5d434a544e41f329a56077f7e82fcc58b802f4;p=krb5.git build and export set/reset_com_err_hook on windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17781 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/comerr32.def b/src/lib/comerr32.def index 6bf326f30..05e4f5d1f 100644 --- a/src/lib/comerr32.def +++ b/src/lib/comerr32.def @@ -8,3 +8,5 @@ EXPORTS error_message add_error_table remove_error_table + set_com_err_hook + reset_com_err_hook diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 047e798e8..360e2270d 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +2006-03-27 Ken Raeburn + + * com_err.c (set_com_err_hook, reset_com_err_hook): Enable + compilation on Windows. + 2006-03-10 Ken Raeburn * Makefile.in (generate-files-mac): Depend on compile_et. diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index 94b379816..5a274d2c1 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -132,7 +132,6 @@ void KRB5_CALLCONV_C com_err(const char *whoami, va_end(ap); } -#if !(defined(_WIN32)) /* Make a separate function because the assert invocations below use the macro expansion on some platforms, which may be insanely long and incomprehensible. */ @@ -166,4 +165,3 @@ et_old_error_hook_func reset_com_err_hook () k5_mutex_unlock(&com_err_hook_lock); return x; } -#endif