Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index 0d7d2e9cb8a49104988799ecde6378aa93eff3d3..8cb1561c5d272f02b8ec97eecef9755a99edbe67 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -383,10 +383,14 @@ class Thread: public ThreadHandle { |
// LOCAL_STORAGE_KEY_MIN_VALUE and LOCAL_STORAGE_KEY_MAX_VALUE are specified |
// to ensure that enumeration type has correct value range (see Issue 830 for |
// more details). |
+#ifdef __CYGWIN__ |
Vyacheslav Egorov (Chromium)
2011/02/17 14:00:48
I understand pthread_key_t is actually a pointer o
|
+ typedef void* LocalStorageKey; |
+#else |
enum LocalStorageKey { |
LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, |
LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt |
}; |
+#endif |
// Create new thread. |
Thread(); |