Skip to content

Commit 138a078

Browse files
committed
qualify identifiers passed through largefile_fn
This makes largefile_fn produce qualified identifiers (e.g. libc::open instead of open).
1 parent e9e7625 commit 138a078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ cfg_if! {
367367
/// identifier of the corresponding I/O function with large file
368368
/// support.
369369
macro_rules! largefile_fn {
370-
[$id:ident] => ($id);
370+
[$id:ident] => (libc::$id);
371371
}
372372
}
373373
}

0 commit comments

Comments
 (0)