Features 2564 - Fixes.
- Now the variable DapChainLedger_DapChainLedgerType is declared as static and this eliminates the problem with multiple definitions.
- A condition has been added, if the sources compile the c ++ compiler, then when compiling, the agreement that the C language is used.