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

Skip to content

Commit 614cf81

Browse files
committed
Undef 'argument' before including mac headers
1 parent 8cb4b1f commit 614cf81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Python/import.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4040
#include "osdefs.h"
4141
#include "importdl.h"
4242
#ifdef macintosh
43+
/* 'argument' is a grammar symbol, but also used in some mac header files */
44+
#undef argument
4345
#include "macglue.h"
4446
#endif
4547

0 commit comments

Comments
 (0)