diff modules/ldap/eldap.c @ 1220:848225013a08

[xemacs-hg @ 2003-01-17 16:59:20 by james] Fix modules building breakage due to Ben's Dec. 16 patch.
author james
date Fri, 17 Jan 2003 16:59:26 +0000
parents 25e260cb7994
children d65d8a05e272
line wrap: on
line diff
--- a/modules/ldap/eldap.c	Thu Jan 16 22:52:17 2003 +0000
+++ b/modules/ldap/eldap.c	Fri Jan 17 16:59:26 2003 +0000
@@ -100,12 +100,10 @@
   return wrap_ldap (ldap);
 }
 
-#ifdef USE_KKCC
-static const struct lrecord_description ldap_description [] = {
+static const struct memory_description ldap_description [] = {
   { XD_LISP_OBJECT, offsetof (struct Lisp_LDAP, host) },
   { XD_END }
 };
-#endif /* USE_KKCC */
 
 static Lisp_Object
 mark_ldap (Lisp_Object obj)
@@ -151,17 +149,9 @@
   ldap->ld = NULL;
 }
 
-#ifdef USE_KKCC
-DEFINE_LRECORD_IMPLEMENTATION ("ldap", ldap,
-			       0, /*dumpable-flag*/
+DEFINE_LRECORD_IMPLEMENTATION ("ldap", ldap, 0,
                                mark_ldap, print_ldap, finalize_ldap,
                                NULL, NULL, ldap_description, Lisp_LDAP);
-#else /* not USE_KKCC */
-DEFINE_LRECORD_IMPLEMENTATION ("ldap", ldap,
-                               mark_ldap, print_ldap, finalize_ldap,
-                               NULL, NULL, 0, Lisp_LDAP);
-#endif /* not USE_KKCC */
-
 
 
 /************************************************************************/