Making sure no warnings are printed (except for getenv) on windows.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user