@@ -41,28 +41,28 @@ use libc::{c_int, c_void, size_t};
41
41
#[ cfg( not( cargobuild) ) ]
42
42
extern { }
43
43
44
- // Note that the symbols here are prefixed by default on OSX (we don't
45
- // explicitly request it), and on Android and DragonFly we explicitly request
46
- // it as unprefixing cause segfaults (mismatches in allocators).
44
+ // Note that the symbols here are prefixed by default on OSX and Windows (we
45
+ // don't explicitly request it), and on Android and DragonFly we explicitly
46
+ // request it as unprefixing cause segfaults (mismatches in allocators).
47
47
extern {
48
48
#[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ,
49
- target_os = "dragonfly" ) ,
49
+ target_os = "dragonfly" , target_os = "windows" ) ,
50
50
link_name = "je_mallocx" ) ]
51
51
fn mallocx ( size : size_t , flags : c_int ) -> * mut c_void ;
52
52
#[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ,
53
- target_os = "dragonfly" ) ,
53
+ target_os = "dragonfly" , target_os = "windows" ) ,
54
54
link_name = "je_rallocx" ) ]
55
55
fn rallocx ( ptr : * mut c_void , size : size_t , flags : c_int ) -> * mut c_void ;
56
56
#[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ,
57
- target_os = "dragonfly" ) ,
57
+ target_os = "dragonfly" , target_os = "windows" ) ,
58
58
link_name = "je_xallocx" ) ]
59
59
fn xallocx ( ptr : * mut c_void , size : size_t , extra : size_t , flags : c_int ) -> size_t ;
60
60
#[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ,
61
- target_os = "dragonfly" ) ,
61
+ target_os = "dragonfly" , target_os = "windows" ) ,
62
62
link_name = "je_sdallocx" ) ]
63
63
fn sdallocx ( ptr : * mut c_void , size : size_t , flags : c_int ) ;
64
64
#[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ,
65
- target_os = "dragonfly" ) ,
65
+ target_os = "dragonfly" , target_os = "windows" ) ,
66
66
link_name = "je_nallocx" ) ]
67
67
fn nallocx ( size : size_t , flags : c_int ) -> size_t ;
68
68
}
0 commit comments