# | Line 1 | Line 1 | |
---|---|---|
1 | < | using System; |
1 | > | //#define HAVE_GRN_REFERENCE // when defined enabled GRN_REFERNCE in Header, else it is disabled |
2 | > | using System; |
3 | using System.Collections.Generic; | |
4 | using System.Linq; | |
5 | using System.Text; | |
# | Line 6 | Line 7 | using System.Runtime.InteropServices; | |
7 | ||
8 | namespace gr2lib.core.coretypes.native | |
9 | { | |
10 | + | #if HAVE_GRN_REFERENCE |
11 | [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 8)] | |
12 | internal struct granny_grn_reference | |
13 | { | |
14 | public Int32 SectionIndex; | |
15 | public Int32 Offset; | |
16 | } | |
17 | + | #endif |
18 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |