From 8ad7d71e0672a677bb1fa12bc0b05fb303ae1c93 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 23 Dec 2018 03:49:09 +0100 Subject: [PATCH 1/1] [py] define HAVE_ERRNO_H in add_local_macros --- python/lib/moresetuptools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index 3fd4e74a..299d1f9f 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -68,7 +68,7 @@ def add_local_macros(ext, usedouble = False): # define macros (waf puts them in build/src/config.h) for define_macro in ['HAVE_STDLIB_H', 'HAVE_STDIO_H', 'HAVE_MATH_H', 'HAVE_STRING_H', - 'HAVE_C99_VARARGS_MACROS', + 'HAVE_ERRNO_H', 'HAVE_C99_VARARGS_MACROS', 'HAVE_LIMITS_H', 'HAVE_STDARG_H', 'HAVE_MEMCPY_HACKS']: ext.define_macros += [(define_macro, 1)] -- 2.11.0