[Rprotobuf-commits] r439 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 14 03:05:16 CEST 2012


Author: edd
Date: 2012-05-14 03:05:16 +0200 (Mon, 14 May 2012)
New Revision: 439

Modified:
   pkg/src/extractors.cpp
Log:
some more ifdef for long long as before int64 patch


Modified: pkg/src/extractors.cpp
===================================================================
--- pkg/src/extractors.cpp	2012-05-14 01:04:48 UTC (rev 438)
+++ pkg/src/extractors.cpp	2012-05-14 01:05:16 UTC (rev 439)
@@ -73,8 +73,10 @@
 
 			HANDLE_REPEATED_FIELD(CPPTYPE_INT32, GPB::int32) ;
     		HANDLE_REPEATED_FIELD(CPPTYPE_UINT32, GPB::uint32) ;
+#ifdef RCPP_HAS_LONG_LONG_TYPES
     		HANDLE_REPEATED_FIELD(CPPTYPE_INT64, GPB::int64) ;
     		HANDLE_REPEATED_FIELD(CPPTYPE_UINT64, GPB::uint64) ;
+#endif
     		HANDLE_REPEATED_FIELD(CPPTYPE_DOUBLE, double) ;
     		HANDLE_REPEATED_FIELD(CPPTYPE_FLOAT, float) ;
     		HANDLE_REPEATED_FIELD(CPPTYPE_BOOL, bool) ;
@@ -112,8 +114,10 @@
 
 		HANDLE_SINGLE_FIELD( CPPTYPE_INT32,  Int32 ); 
 		HANDLE_SINGLE_FIELD( CPPTYPE_UINT32, UInt32 ); 
+#ifdef RCPP_HAS_LONG_LONG_TYPES
 		HANDLE_SINGLE_FIELD( CPPTYPE_INT64,  Int64 );
 		HANDLE_SINGLE_FIELD( CPPTYPE_UINT64, UInt64 );
+#endif
 		HANDLE_SINGLE_FIELD( CPPTYPE_DOUBLE, Double );
 		HANDLE_SINGLE_FIELD( CPPTYPE_FLOAT, Float );
 		HANDLE_SINGLE_FIELD( CPPTYPE_BOOL, Bool );



More information about the Rprotobuf-commits mailing list