ticket: 2741
version_fixed: 1.4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16818
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-10-13 Alexandra Ellwood <lxs@mit.edu>
+
+ * prof_file.c (profile_library_initializer,
+ profile_library_finalizer): Added macros to avoid adding
+ error tables on platforms that don't use them (ie: OSX).
+
2004-10-13 Alexandra Ellwood <lxs@mit.edu>
* prof_int.h Added prototypes for profile_lock_global()
int profile_library_initializer(void)
{
+#if !USE_BUNDLE_ERROR_STRINGS
add_error_table(&et_prof_error_table);
+#endif
#ifdef SHARE_TREE_DATA
return k5_mutex_finish_init(&g_shared_trees_mutex);
#else
#ifdef SHARE_TREE_DATA
k5_mutex_destroy(&g_shared_trees_mutex);
#endif
+#if !USE_BUNDLE_ERROR_STRINGS
remove_error_table(&et_prof_error_table);
+#endif
}
static void profile_free_file_data(prf_data_t);