ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib/core/coreclasses/header/granny_reference.cs
(Generate patch)

Comparing trunk/gr2lib/core/coreclasses/header/granny_reference.cs (file contents):
Revision 94 by william, Sat Jul 17 05:09:42 2010 UTC vs.
Revision 97 by william, Sat Jul 17 05:53:44 2010 UTC

--- trunk/gr2lib/core/coreclasses/header/granny_reference.cs	2010/07/17 05:09:42	94
+++ trunk/gr2lib/core/coreclasses/header/granny_reference.cs	2010/07/17 05:53:44	97
@@ -1,4 +1,5 @@
-using System;
+//#define HAVE_GRN_REFERENCE // when defined enabled GRN_REFERNCE in Header, else it is disabled
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -8,6 +9,7 @@ using gr2lib.core.helpers;
 
 namespace gr2lib.core.coreclasses.header
 {
+#if HAVE_GRN_REFERENCE
     public class granny_reference : igranny_reference
     {
 
@@ -64,4 +66,5 @@ namespace gr2lib.core.coreclasses.header
         public Int32 Offset { get { return _Offset; } set { _Offset = value; } }
         #endregion
     }
+#endif
 }