]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Remove an useless #define wrap
authorVincent Pit <vince@profvince.com>
Fri, 17 Feb 2012 18:41:00 +0000 (19:41 +0100)
committerVincent Pit <vince@profvince.com>
Fri, 17 Feb 2012 18:41:00 +0000 (19:41 +0100)
Magic.xs

index 2829b9db99287731a75316ab920dc616ae2c4c53..9bb6c7ba4c8a0f6cf70aaf79eec0f74888e1c82c 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -435,9 +435,7 @@ STATIC vmg_vtable *vmg_vtable_alloc(pTHX) {
 
 #define vmg_vtable_vtbl(T) (T)->vtbl
 
-#if VMG_THREADSAFE
 STATIC perl_mutex vmg_vtable_refcount_mutex;
-#endif
 
 STATIC vmg_vtable *vmg_vtable_dup(pTHX_ vmg_vtable *t) {
 #define vmg_vtable_dup(T) vmg_vtable_dup(aTHX_ (T))