Commit 012f0a01 authored by Stefan Behnel's avatar Stefan Behnel

Try to fix platform specific test once more.

"synchapi.h" is not supposed to be included directly, and "windows.h" can break ... other stuff.
Let's see what we can do.
parent b8ad4968
cdef extern from *:
"""
#if defined(WIN32) || defined(MS_WINDOWS)
#include <synchapi.h>
#if defined(_WIN32) || defined(MS_WINDOWS) || defined(_MSC_VER)
#include <windows.h>
#define myapp_sleep(m) Sleep(m)
#else
#include <unistd.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