Skip to content

Commit

Permalink
Update src/pymatecorba-servant.c
Browse files Browse the repository at this point in the history
  • Loading branch information
perberos committed Dec 12, 2011
1 parent d34f616 commit 4551bbf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pymatecorba-servant.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
(MATECORBA_MAJOR_VERSION == x && (MATECORBA_MINOR_VERSION > y || \
(MATECORBA_MINOR_VERSION == y && MATECORBA_MICRO_VERSION >= z))))

#if !MATECORBA_VERSION_CHECK(2,7,0)
#if 0 /* !MATECORBA_VERSION_CHECK(2,7,0) */
/* #if !MATECORBA_VERSION_CHECK(2,7,0)
* Esto no funciona si se usa el modelo de version a partir de 1.x
* Dejo esta linea, por si se quiere retro compatibilidad con Orbit 2.6 o menor */
# define MATECORBA2_INTERNAL_API
#endif
#include "pymatecorba-private.h"
Expand Down Expand Up @@ -89,7 +92,10 @@ _pymatecorba_register_skel(MateCORBA_IInterface *iinterface)

info = g_new0(PyMateCORBAInterfaceInfo, 1);
info->iinterface = iinterface;
#if MATECORBA_VERSION_CHECK(2,7,0)
#if 0 /* !MATECORBA_VERSION_CHECK(2,7,0) */
/* #if !MATECORBA_VERSION_CHECK(2,7,0)
* Esto no funciona si se usa el modelo de version a partir de 1.x
* Dejo esta linea, por si se quiere retro compatibilidad con Orbit 2.6 o menor */
info->class_info.impl_finder = &impl_finder_func;
#else
info->class_info.small_relay_call = &impl_finder_func;
Expand Down

0 comments on commit 4551bbf

Please sign in to comment.