Fix unit test compatibility with mingw

change __mingw32__ to __win32__
pull/123/head
Alex Voinea 2021-09-21 14:55:52 +02:00 committed by DRracer
parent f8ac620379
commit f01d3a342f
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#include <cstdio>
#ifndef __WIN32__
#include <sysexits.h>
#else
#define EX_OK 0
#define EX_USAGE 64
#define EX_OSERR 71
#endif
#include "motion.h"
using namespace modules::motion;