about summary refs log tree commit diff
path: root/library/std/src/sys/cmath/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/cmath/mod.rs')
-rw-r--r--library/std/src/sys/cmath/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/library/std/src/sys/cmath/mod.rs b/library/std/src/sys/cmath/mod.rs
new file mode 100644
index 00000000000..79d5021dd8d
--- /dev/null
+++ b/library/std/src/sys/cmath/mod.rs
@@ -0,0 +1,11 @@
+#![cfg(not(test))]
+
+cfg_if::cfg_if! {
+    if #[cfg(target_os = "windows")] {
+        mod windows;
+        pub use windows::*;
+    } else {
+        mod builtins;
+        pub use builtins::*;
+    }
+}