Skip to content

Commit 486ba7f

Browse files
committed
---
yaml --- r: 348619 b: refs/heads/master c: 3d35249 h: refs/heads/master i: 348617: 5673409 348615: d065364
1 parent 4a14aae commit 486ba7f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 61e126867ca057f74c59fce5e61cadb1c71f5c02
2+
refs/heads/master: 3d35249f89c3fe731c79fe1e7f74fb3419da8be1
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/stdlib/public/stubs/ThreadLocalStorage.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ void _stdlib_destroyTLS(void *);
2323
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_API
2424
void *_stdlib_createTLS(void);
2525

26+
#if !SWIFT_TLS_HAS_RESERVED_PTHREAD_SPECIFIC || (defined(_WIN32) && !defined(__CYGWIN__))
27+
2628
static void
2729
#if defined(_M_IX86)
2830
__stdcall
@@ -31,6 +33,8 @@ destroyTLS_CCAdjustmentThunk(void *ptr) {
3133
_stdlib_destroyTLS(ptr);
3234
}
3335

36+
#endif
37+
3438
#if defined(_WIN32) && !defined(__CYGWIN__)
3539

3640
typedef

0 commit comments

Comments
 (0)