modelica-3rdparty / msgpack-modelica

A MessagePack implementation as a Modelica package
BSD 2-Clause "Simplified" License
6 stars 4 forks source link

Fix pure C compilation of msgpack on Windows #9

Closed tbeu closed 10 years ago

tbeu commented 10 years ago

Compilation of msgpack-modelica.h fails using MSVC. This fix together with msgpack/msgpack-c#90 makes compilation successfull.

sjoelund commented 10 years ago

These fixes should probably go into msgpack.h instead. These identifiers are not referenced anywhere in msgpack-modelica.h.

tbeu commented 10 years ago

Probably you are right. This was only a quick hack.

tbeu commented 10 years ago

FYI: The msgpack-c issue was merged. Will think of a fix for bool and inline.