Skip to content

When defined a CORLIB_ONLY. #88

@MichihitoManaka

Description

@MichihitoManaka

Environment:
-using MsgPack.Unity3D.(2015/06/16, 0.6.0-beta3)
-Mac OS X Yosemite(10.10.3)
(In another matter, I am happy if you could make a unitypackage for Mac environment.)
-Unity 5.1.0f3, buildin monodevelop.
-Unity settings,
Api Compatibility Level ".NET 2.0 Subset",
CORLIB_ONLY defined.

Now the compiling is stopped, the SubtreeUnpacker.cs Line 51, 52, 53.
The reason is because has disappeared defined from line 35 ~ 38.

35 #if !CORLIB_ONLY
36 using BooleanStack = System.Collections.Generic.Stack<System.Boolean>;
37 using Int64Stack = System.Collections.Generic.Stack<System.Int64>;
38 #endif

51 private readonly BooleanStack _isMap; // <- BooleanStack undefine.
52 private readonly Int64Stack _unpacked; // <- Int64Stack undefine.
53 private readonly Int64Stack _itemsCount; // <- Int64Stack undefine.

Same problem in "ItemsUnpacker.Skipping.cs".
It may be present in other.

I made unitypackage(Source code registration) for Mac environment.
So I want you to tell me if I have a mistake.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequires or request to feature enhancementquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions