Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions rtmidi_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
#include "rtmidi_c.h"
#include "RtMidi.h"

// Fixes build error C4996 on Windows 11 with VS2022
#ifdef _MSC_VER
#define strdup _strdup
#endif

/* Compile-time assertions that will break if the enums are changed in
* the future without synchronizing them properly. If you get (g++)
* "error: ‘StaticEnumAssert<b>::StaticEnumAssert() [with bool b = false]’
Expand Down
Loading