equal
deleted
inserted
replaced
17 let val n = size ml_platform |
17 let val n = size ml_platform |
18 in n >= 6 andalso String.substring (ml_platform, n - 6, 6) = "cygwin" end; |
18 in n >= 6 andalso String.substring (ml_platform, n - 6, 6) = "cygwin" end; |
19 |
19 |
20 fun if_cygwin f x = if cygwin_platform then f x else (); |
20 fun if_cygwin f x = if cygwin_platform then f x else (); |
21 fun unless_cygwin f x = if not cygwin_platform then f x else (); |
21 fun unless_cygwin f x = if not cygwin_platform then f x else (); |
|
22 |
|
23 |
|
24 (* low-level pointer equality *) |
|
25 |
|
26 fun pointer_eq (x:''a, y) = Address.wordEq (x, y); |
22 |
27 |
23 |
28 |
24 (* old Poly/ML emulation *) |
29 (* old Poly/ML emulation *) |
25 |
30 |
26 local |
31 local |