HMIProject / open62541-sys

2 stars 2 forks source link

Add wrapper for `vsnprintf()` on Windows #9

Closed sgoll closed 3 months ago

sgoll commented 4 months ago

Description

This adds a custom wrapper to export vsnprintf() on Windows systems with C libraries older than the UCRT introduced in Visual Studio 2015 and Windows 10. On these systems, vsnprintf() is only available as _vsnprintf() and with a different runtime behavior.

sgoll commented 4 months ago

Wow, this turned out much harder than necessary 🤪

sgoll commented 3 months ago

@uklotzde It works, you can see the result in https://github.com/HMIProject/open62541/pull/24.