summaryrefslogtreecommitdiffstats
path: root/vendor/sysinfo/src/windows/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sysinfo/src/windows/macros.rs')
-rw-r--r--vendor/sysinfo/src/windows/macros.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/sysinfo/src/windows/macros.rs b/vendor/sysinfo/src/windows/macros.rs
deleted file mode 100644
index b0c024c7c..000000000
--- a/vendor/sysinfo/src/windows/macros.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// Take a look at the license at the top of the repository in the LICENSE file.
-
-/// Allows to cast only when needed.
-#[macro_export]
-macro_rules! auto_cast {
- ($t:expr, $cast:ty) => {{
- #[cfg(target_pointer_width = "32")]
- {
- $t as $cast
- }
- #[cfg(not(target_pointer_width = "32"))]
- {
- $t
- }
- }};
-}