Making sure no warnings are printed (except for getenv) on windows.

This commit is contained in:
2026-04-17 13:58:28 +02:00
parent ee33c72915
commit 89b084a6a7
6 changed files with 27 additions and 16 deletions

View File

@@ -1,6 +1,10 @@
#include "shmqueue.h"
#include <string.h>
#ifdef _WIN32
#define sprintf sprintf_s
#endif
ShmQueue::ShmQueue(Shm *shm, ShmSlot slot, bool owner)
{
_shm = shm;