Guard Windows Header Include

This commit is contained in:
hmelder 2024-04-18 21:21:35 -07:00 committed by Hugo Melder
parent 8a93628ecb
commit 8ec158ad05

View file

@ -31,10 +31,13 @@
*/
#import "common.h"
#include <processthreadsapi.h>
#import "GSPThread.h"
#ifdef _WIN32
#import <processthreadsapi.h>
#endif
// Dummy implementatation
// cleaner than IFDEF'ing the code everywhere
#ifndef HAVE_PTHREAD_SPIN_LOCK