Commit cb1b5f2a authored by Ian Craggs's avatar Ian Craggs

Windows build for Thread.c

parent 795f5cb7
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2009, 2017 IBM Corp. * Copyright (c) 2009, 2018 IBM Corp.
* *
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
#define thread_fn LPTHREAD_START_ROUTINE #define thread_fn LPTHREAD_START_ROUTINE
#define cond_type HANDLE #define cond_type HANDLE
#define sem_type HANDLE #define sem_type HANDLE
#undef ETIMEDOUT
#define ETIMEDOUT WSAETIMEDOUT
#else #else
#include <pthread.h> #include <pthread.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment