build and export set/reset_com_err_hook on windows
authorKen Raeburn <raeburn@mit.edu>
Mon, 27 Mar 2006 20:53:18 +0000 (20:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 27 Mar 2006 20:53:18 +0000 (20:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17781 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/comerr32.def
src/util/et/ChangeLog
src/util/et/com_err.c

index 6bf326f30ac5a676f21c1f2c21ef9c08ee2ddfd9..05e4f5d1f69c7f8ea0c1ef1f064032caef8e97da 100644 (file)
@@ -8,3 +8,5 @@ EXPORTS
        error_message
        add_error_table
        remove_error_table
+       set_com_err_hook
+       reset_com_err_hook
index 047e798e89ab78035d89639ae94ff0e49a5e2196..360e2270db69c1a20696af5174005de76948483d 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-27  Ken Raeburn  <raeburn@mit.edu>
+
+       * com_err.c (set_com_err_hook, reset_com_err_hook): Enable
+       compilation on Windows.
+
 2006-03-10  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (generate-files-mac): Depend on compile_et.
index 94b379816dc7d18d5598093d695b5df9b035afeb..5a274d2c17f514231e6423307d9fe3a7b072ce4d 100644 (file)
@@ -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