Skip to content

Commit 7911c6d

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 9075d4a commit 7911c6d

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
@@ -369,7 +369,7 @@ cfg_if! {
369369
/// identifier of the corresponding I/O function with large file
370370
/// support.
371371
macro_rules! largefile_fn {
372-
[$id:ident] => ($id);
372+
[$id:ident] => (libc::$id);
373373
}
374374
}
375375
}

0 commit comments

Comments
 (0)