summaryrefslogtreecommitdiff
path: root/coro.h
diff options
context:
space:
mode:
authorroot <root>2011-06-10 12:27:02 +0000
committerroot <root>2011-06-10 12:27:02 +0000
commit1cd97aef46e75c9b47df834bdd360b634aa20a4e (patch)
tree69c6ec655b1593d555cfee94dbbf772bbec6e0b4 /coro.h
parentdf58e6aa775328fefd52bc54b3229d66eae2755a (diff)
*** empty log message ***
Diffstat (limited to 'coro.h')
-rw-r--r--coro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/coro.h b/coro.h
index 399ed1f..c5602bb 100644
--- a/coro.h
+++ b/coro.h
@@ -72,6 +72,7 @@
* 2010-12-03 tentative support for uclibc (which lacks all sorts of things).
* 2011-05-30 set initial callee-saved-registers to zero with CORO_ASM.
* use .cfi_undefined rip on linux-amd64 for better backtraces.
+ * 2011-06-08 maybe properly implement weird windows amd64 calling conventions.
*/
#ifndef CORO_H
@@ -206,7 +207,7 @@ void coro_destroy (coro_context *ctx);
&& !defined(CORO_SJLJ) && !defined(CORO_LINUX) \
&& !defined(CORO_IRIX) && !defined(CORO_ASM) \
&& !defined(CORO_PTHREAD)
-# if defined(WINDOWS)
+# if defined(WINDOWS) || defined(_WIN32)
# define CORO_LOSER 1 /* you don't win with windoze */
# elif defined(__linux) && (defined(__x86) || defined (__amd64))
# define CORO_ASM 1