Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ef86d5

Browse files
committed
Undef strerror on the mac before redefining it
1 parent febf811 commit 5ef86d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/errors.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6767
** call it strerror(), though, since that is already defined (for Think C)
6868
** in ANSI
6969
*/
70+
#undef strerror
7071
#define strerror macstrerror
7172
#include "macdefs.h" /* For CW to find EINTR */
7273
#endif /* !macintosh */

0 commit comments

Comments
 (0)