Changeset 604 for python


Ignore:
Timestamp:
Dec 11, 2015, 5:21:48 PM (10 years ago)
Author:
dmik
Message:

python: Fix building with no OS/2 Toolkit headers in include paths.

The Toolkit is not necessary to build python with the gcc toolchain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Python/importdl.h

    r391 r604  
    4040#else
    4141#if defined(PYOS_OS2) && !defined(PYCC_GCC)
    42 #include <os2def.h>
    43 typedef int (* APIENTRY dl_funcptr)();
     42#include <os2.h>
     43typedef int (* APIENTRY dl_funcptr)(void);
    4444#else
    4545typedef void (*dl_funcptr)(void);
Note: See TracChangeset for help on using the changeset viewer.