Fix WIN64 break from variable redefinition.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Oct 2012 19:57:06 +0000 (19:57 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Oct 2012 19:57:06 +0000 (19:57 +0000)
Review URL: https://codereview.appspot.com/6782047

git-svn-id: http://skia.googlecode.com/svn/trunk@6129 2bbb7eff-a529-9590-31e7-b0007b416f81

src/ports/SkThread_win.cpp

index 07a67ef..bc038b2 100644 (file)
@@ -123,7 +123,7 @@ extern "C" {
 
 #pragma const_seg(".CRT$XLB")
 extern const PIMAGE_TLS_CALLBACK skia_tls_callback;
-PIMAGE_TLS_CALLBACK skia_tls_callback = onTLSCallback;
+const PIMAGE_TLS_CALLBACK skia_tls_callback = onTLSCallback;
 #pragma const_seg()
 
 #else