Skip to content

Commit 5ae2ac3

Browse files
committed
Fix incorrect keyword
1 parent 84d0a7e commit 5ae2ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pointers/_cstd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
_c_library_name = find_library("c") or "libc.so.6"
2525

2626
dll = ctypes.CDLL(_c_library_name)
27-
mdll = dll if platform in ("win32", "cygwin") else ctypes.CDLL(find_library("m") else "libm.so.6")
27+
mdll = dll if platform in ("win32", "cygwin") else ctypes.CDLL(find_library("m") or "libm.so.6")
2828

2929
class tm(ctypes.Structure):
3030
_fields_ = [

0 commit comments

Comments
 (0)