We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9b652 commit bd1a5c6Copy full SHA for bd1a5c6
src/pointers/_cstd.py
@@ -24,7 +24,12 @@
24
_c_library_name = find_library("c") or "libc.so.6"
25
26
dll = ctypes.CDLL(_c_library_name)
27
-mdll = dll if platform in ("win32", "cygwin") else ctypes.CDLL(find_library("m") or "libm.so.6")
+mdll = dll if platform in ("win32", "cygwin") else ctypes.CDLL(
28
+ find_library("m") or (
29
+ "libm.dylib" if platform == "darwin" else "libm.so.6"
30
+ )
31
+)
32
+
33
34
class tm(ctypes.Structure):
35
_fields_ = [
0 commit comments