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 84d0a7e commit 5ae2ac3Copy full SHA for 5ae2ac3
src/pointers/_cstd.py
@@ -24,7 +24,7 @@
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") else "libm.so.6")
+mdll = dll if platform in ("win32", "cygwin") else ctypes.CDLL(find_library("m") or "libm.so.6")
28
29
class tm(ctypes.Structure):
30
_fields_ = [
0 commit comments