]> granicus.if.org Git - python/commit
Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
authorThomas Heller <theller@ctypes.org>
Thu, 6 Apr 2006 15:23:16 +0000 (15:23 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 6 Apr 2006 15:23:16 +0000 (15:23 +0000)
commitfff61ea025e9ef31a2a467e685cbda3277d5237f
tree1bcaa7f235b0bb72f166ba0c906528ed23fe6d1c
parenta4d651fbc8055a59a20e52ddc745a511a1c0b431
Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
If RTLD_LOCAL is not #defined in any header file (Windows), set it to 0.
If RTLD_GLOBAL is not #defined, set it equal to RTLD_LOCAL.

This should fix ctypes on cygwin.
Lib/ctypes/__init__.py
Lib/ctypes/_loader.py
Modules/_ctypes/_ctypes.c