Skip to content

Commit 4073382

Browse files
author
holzboote@googlemail.com
committed
Fix for asynchronous api (windows): Context iitialization didn't work, since client library doesn't use __WIN__ definition (instead we use _WIN32).
1 parent b967620 commit 4073382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/my_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
(This particular implementation uses Posix ucontext swapcontext().)
2626
*/
2727

28-
#ifdef __WIN__
28+
#ifdef _WIN32
2929
#define MY_CONTEXT_USE_WIN32_FIBERS 1
3030
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)
3131
#define MY_CONTEXT_USE_X86_64_GCC_ASM

0 commit comments

Comments
 (0)