[PATCH 13/14] Fixup definition of the tls_callback for win32
Mike Hommey
mh+jemalloc at glandium.org
Thu Apr 19 04:03:58 PDT 2012
From: Mike Hommey <mh at glandium.org>
---
src/tsd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tsd.c b/src/tsd.c
index 417f958..3dee355 100644
--- a/src/tsd.c
+++ b/src/tsd.c
@@ -90,6 +90,6 @@ _tls_callback(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
}
JEMALLOC_ATTR(section(".CRT$XLY")) JEMALLOC_ATTR(used)
-static const BOOL WINAPI (*tls_callback)(HINSTANCE hinstDLL, DWORD fdwReason,
+static const BOOL (WINAPI *tls_callback)(HINSTANCE hinstDLL, DWORD fdwReason,
LPVOID lpvReserved) = _tls_callback;
#endif
--
1.7.10
More information about the jemalloc-discuss
mailing list