mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Guard Windows Header Include
This commit is contained in:
parent
8a93628ecb
commit
8ec158ad05
1 changed files with 4 additions and 1 deletions
|
@ -31,10 +31,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import "common.h"
|
#import "common.h"
|
||||||
#include <processthreadsapi.h>
|
|
||||||
|
|
||||||
#import "GSPThread.h"
|
#import "GSPThread.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#import <processthreadsapi.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// Dummy implementatation
|
// Dummy implementatation
|
||||||
// cleaner than IFDEF'ing the code everywhere
|
// cleaner than IFDEF'ing the code everywhere
|
||||||
#ifndef HAVE_PTHREAD_SPIN_LOCK
|
#ifndef HAVE_PTHREAD_SPIN_LOCK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue