tjunittest.c: Use _getpid() on Windows

This commit is contained in:
DRC
2023-07-06 16:58:20 -04:00
parent 035ea386d1
commit e429e379b0

View File

@@ -46,7 +46,9 @@
#include "jconfigint.h"
#ifdef _WIN32
#include <time.h>
#include <process.h>
#define random() rand()
#define getpid() _getpid()
#else
#include <unistd.h>
#endif