Skip to content

Commit 91e9f86

Browse files
committed
libco/x86: Add djgpp support
1 parent 87a5857 commit 91e9f86

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

libco/x86.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ static unsigned char co_swap_function[] = {
4141
0xff, 0xe0, /* jmp eax */
4242
};
4343

44-
#ifdef _WIN32
44+
#if defined(__DJGPP__)
45+
static void co_init(void)
46+
{
47+
}
48+
#elif defined(_WIN32)
4549
#include <windows.h>
4650

4751
static void co_init(void)

0 commit comments

Comments
 (0)