Index: /issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.h
===================================================================
--- /issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.h	(revision 25512)
+++ /issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.h	(revision 25513)
@@ -16,5 +16,5 @@
 	MARSHALLING_LOAD,
 	MARSHALLING_SIZE,
-#ifdef _HAVE_CODIPACK_
+#if defined(_HAVE_CODIPACK_) && !defined(_WRAPPERS_)
 	AD_COUNTDOUBLES,
 	AD_REGISTERINPUT,
@@ -113,5 +113,5 @@
 		}
 };/*}}}*/
-#ifdef _HAVE_CODIPACK_
+#if defined(_HAVE_CODIPACK_) && !defined(_WRAPPERS_)
 class CountDoublesFunctor:    public MarshallHandle{ /*{{{*/
 
@@ -254,5 +254,5 @@
 		case MARSHALLING_LOAD: {LoadCheckpointFunctor*  temp = xDynamicCast<LoadCheckpointFunctor*>(this);  temp->call(value); break;}
 		case MARSHALLING_SIZE: {SizeCheckpointFunctor*  temp = xDynamicCast<SizeCheckpointFunctor*>(this);  temp->call(value); break;}
-#ifdef _HAVE_CODIPACK_
+#if defined(_HAVE_CODIPACK_) && !defined(_WRAPPERS_)
 		case AD_COUNTDOUBLES:  {CountDoublesFunctor*   temp = xDynamicCast<CountDoublesFunctor*>(this);    temp->call(value); break;}
 		case AD_REGISTERINPUT: {RegisterInputFunctor*  temp = xDynamicCast<RegisterInputFunctor*>(this);   temp->call(value); break;}
@@ -268,5 +268,5 @@
 		case MARSHALLING_LOAD: {LoadCheckpointFunctor*  temp = xDynamicCast<LoadCheckpointFunctor*>(this);  temp->call(value,size); break;}
 		case MARSHALLING_SIZE: {SizeCheckpointFunctor*  temp = xDynamicCast<SizeCheckpointFunctor*>(this);  temp->call(value,size); break;}
-#ifdef _HAVE_CODIPACK_
+#if defined(_HAVE_CODIPACK_) && !defined(_WRAPPERS_)
 		case AD_COUNTDOUBLES:  {CountDoublesFunctor*   temp = xDynamicCast<CountDoublesFunctor*>(this);    temp->call(value,size); break;}
 		case AD_REGISTERINPUT: {RegisterInputFunctor*  temp = xDynamicCast<RegisterInputFunctor*>(this);   temp->call(value,size); break;}
