diff -urN /System/Library/Frameworks/Python.framework/Versions/2.5/Headers/py_curses.h /opt/local/include/python2.5/py_curses.h
|
old
|
new
|
|
| 40 | 40 | #endif |
| 41 | 41 | |
| 42 | 42 | #ifdef HAVE_NCURSES_H |
| 43 | | #define NCURSES_OPAQUE 0 |
| 44 | 43 | #include <ncurses.h> |
| 45 | 44 | #else |
| 46 | 45 | #include <curses.h> |
diff -urN /System/Library/Frameworks/Python.framework/Versions/2.5/Headers/pyconfig.h /opt/local/include/python2.5/pyconfig.h
|
old
|
new
|
|
| 5 | 5 | #ifndef Py_PYCONFIG_H |
| 6 | 6 | #define Py_PYCONFIG_H |
| 7 | 7 | |
| | 8 | // Required on Darwin 10+ |
| | 9 | #ifndef _DARWIN_C_SOURCE |
| | 10 | #define _DARWIN_C_SOURCE |
| | 11 | #endif |
| 8 | 12 | |
| 9 | 13 | /* Define for AIX if your compiler is a genuine IBM xlC/xlC_r and you want |
| 10 | 14 | support for AIX C++ shared extension modules. */ |
| … |
… |
|
| 287 | 291 | and long long is available and at least as big as an off_t. You may need to |
| 288 | 292 | add some flags for configuration and compilation to enable this mode. (For |
| 289 | 293 | Solaris and Linux, the necessary defines are already defined.) */ |
| 290 | | #ifdef __LP64__ |
| 291 | 294 | /* #undef HAVE_LARGEFILE_SUPPORT */ |
| 292 | | #else |
| 293 | | #define HAVE_LARGEFILE_SUPPORT 1 |
| 294 | | #endif |
| 295 | 295 | |
| 296 | 296 | /* Define to 1 if you have the `lchown' function. */ |
| 297 | 297 | #define HAVE_LCHOWN 1 |
| … |
… |
|
| 306 | 306 | /* #undef HAVE_LIBIEEE */ |
| 307 | 307 | |
| 308 | 308 | /* Define to 1 if you have the <libintl.h> header file. */ |
| 309 | | /* #undef HAVE_LIBINTL_H */ |
| | 309 | #define HAVE_LIBINTL_H 1 |
| 310 | 310 | |
| 311 | 311 | /* Define to 1 if you have the `readline' library (-lreadline). */ |
| 312 | 312 | #define HAVE_LIBREADLINE 1 |
| … |
… |
|
| 315 | 315 | /* #undef HAVE_LIBRESOLV */ |
| 316 | 316 | |
| 317 | 317 | /* Define to 1 if you have the <libutil.h> header file. */ |
| 318 | | #define HAVE_LIBUTIL_H 1 |
| | 318 | /* #undef HAVE_LIBUTIL_H */ |
| 319 | 319 | |
| 320 | 320 | /* Define if you have the 'link' function. */ |
| 321 | 321 | #define HAVE_LINK 1 |
| … |
… |
|
| 378 | 378 | /* #undef HAVE_PLOCK */ |
| 379 | 379 | |
| 380 | 380 | /* Define to 1 if you have the `poll' function. */ |
| 381 | | /* #undef HAVE_POLL */ |
| | 381 | #define HAVE_POLL 1 |
| 382 | 382 | |
| 383 | 383 | /* Define to 1 if you have the <poll.h> header file. */ |
| 384 | | /* #undef HAVE_POLL_H */ |
| | 384 | #define HAVE_POLL_H 1 |
| 385 | 385 | |
| 386 | 386 | /* Define to 1 if you have the <process.h> header file. */ |
| 387 | 387 | /* #undef HAVE_PROCESS_H */ |
| … |
… |
|
| 420 | 420 | #define HAVE_RL_CALLBACK 1 |
| 421 | 421 | |
| 422 | 422 | /* Define if you can turn off readline's signal handling. */ |
| 423 | | /* #undef HAVE_RL_CATCH_SIGNAL */ |
| | 423 | #define HAVE_RL_CATCH_SIGNAL 1 |
| 424 | 424 | |
| 425 | 425 | /* Define if you have readline 2.2 */ |
| 426 | 426 | #define HAVE_RL_COMPLETION_APPEND_CHARACTER 1 |
| … |
… |
|
| 779 | 779 | /* #undef Py_DEBUG */ |
| 780 | 780 | |
| 781 | 781 | /* Defined if Python is built as a shared library. */ |
| 782 | | /* #undef Py_ENABLE_SHARED */ |
| | 782 | #define Py_ENABLE_SHARED 1 |
| 783 | 783 | |
| 784 | 784 | /* Define as the size of the unicode type. */ |
| 785 | 785 | #define Py_UNICODE_SIZE 2 |
| … |
… |
|
| 812 | 812 | #define SIZEOF_INT 4 |
| 813 | 813 | |
| 814 | 814 | /* The size of `long', as computed by sizeof. */ |
| 815 | | #ifdef __LP64__ |
| 816 | 815 | #define SIZEOF_LONG 8 |
| 817 | | #else |
| 818 | | #define SIZEOF_LONG 4 |
| 819 | | #endif |
| 820 | 816 | |
| 821 | 817 | /* The size of `long long', as computed by sizeof. */ |
| 822 | 818 | #define SIZEOF_LONG_LONG 8 |
| … |
… |
|
| 825 | 821 | #define SIZEOF_OFF_T 8 |
| 826 | 822 | |
| 827 | 823 | /* The number of bytes in a pthread_t. */ |
| 828 | | #ifdef __LP64__ |
| 829 | 824 | #define SIZEOF_PTHREAD_T 8 |
| 830 | | #else |
| 831 | | #define SIZEOF_PTHREAD_T 4 |
| 832 | | #endif |
| 833 | 825 | |
| 834 | 826 | /* The size of `short', as computed by sizeof. */ |
| 835 | 827 | #define SIZEOF_SHORT 2 |
| 836 | 828 | |
| 837 | 829 | /* The size of `size_t', as computed by sizeof. */ |
| 838 | | #ifdef __LP64__ |
| 839 | 830 | #define SIZEOF_SIZE_T 8 |
| 840 | | #else |
| 841 | | #define SIZEOF_SIZE_T 4 |
| 842 | | #endif |
| 843 | 831 | |
| 844 | 832 | /* The number of bytes in a time_t. */ |
| 845 | | #ifdef __LP64__ |
| 846 | 833 | #define SIZEOF_TIME_T 8 |
| 847 | | #else |
| 848 | | #define SIZEOF_TIME_T 4 |
| 849 | | #endif |
| 850 | 834 | |
| 851 | 835 | /* The size of `uintptr_t', as computed by sizeof. */ |
| 852 | | #ifdef __LP64__ |
| 853 | 836 | #define SIZEOF_UINTPTR_T 8 |
| 854 | | #else |
| 855 | | #define SIZEOF_UINTPTR_T 4 |
| 856 | | #endif |
| 857 | 837 | |
| 858 | 838 | /* The size of `void *', as computed by sizeof. */ |
| 859 | | #ifdef __LP64__ |
| 860 | 839 | #define SIZEOF_VOID_P 8 |
| 861 | | #else |
| 862 | | #define SIZEOF_VOID_P 4 |
| 863 | | #endif |
| 864 | 840 | |
| 865 | 841 | /* The size of `wchar_t', as computed by sizeof. */ |
| 866 | 842 | #define SIZEOF_WCHAR_T 4 |
| … |
… |
|
| 879 | 855 | /* #undef TM_IN_SYS_TIME */ |
| 880 | 856 | |
| 881 | 857 | /* Define if you want to use MacPython modules on MacOSX in unix-Python. */ |
| 882 | | #define USE_TOOLBOX_OBJECT_GLUE 1 |
| | 858 | /* #undef USE_TOOLBOX_OBJECT_GLUE */ |
| 883 | 859 | |
| 884 | 860 | /* Define if a va_list is an array of some kind */ |
| 885 | | /* #undef VA_LIST_IS_ARRAY */ |
| | 861 | #define VA_LIST_IS_ARRAY 1 |
| 886 | 862 | |
| 887 | 863 | /* Define if you want SIGFPE handled (see Include/pyfpe.h). */ |
| 888 | 864 | /* #undef WANT_SIGFPE_HANDLER */ |
| … |
… |
|
| 903 | 879 | #define WITH_DYLD 1 |
| 904 | 880 | |
| 905 | 881 | /* Define to 1 if libintl is needed for locale functions. */ |
| 906 | | /* #undef WITH_LIBINTL */ |
| | 882 | #define WITH_LIBINTL 1 |
| 907 | 883 | |
| 908 | 884 | /* Define if you want to produce an OpenStep/Rhapsody framework (shared |
| 909 | 885 | library plus accessory files). */ |
| 910 | | #define WITH_NEXT_FRAMEWORK 1 |
| | 886 | /* #undef WITH_NEXT_FRAMEWORK */ |
| 911 | 887 | |
| 912 | 888 | /* Define if you want to compile in Python-specific mallocs */ |
| 913 | 889 | #define WITH_PYMALLOC 1 |
| … |
… |
|
| 928 | 904 | such that the configure-result is used on systems that don't use GCC. |
| 929 | 905 | */ |
| 930 | 906 | #ifdef __BIG_ENDIAN__ |
| 931 | | #if __BIG_ENDIAN__ |
| 932 | 907 | #define WORDS_BIGENDIAN 1 |
| 933 | | #endif /* __BIG_ENDIAN__ */ |
| 934 | 908 | #else |
| 935 | 909 | #ifndef __LITTLE_ENDIAN__ |
| 936 | 910 | /* #undef WORDS_BIGENDIAN */ |
| … |
… |
|
| 991 | 965 | /* Defined on Solaris to see additional function prototypes. */ |
| 992 | 966 | /* #undef __EXTENSIONS__ */ |
| 993 | 967 | |
| 994 | | /* Define on Mac OS X to activate all library features */ |
| 995 | | #define _DARWIN_C_SOURCE 1 |
| 996 | | |
| 997 | 968 | /* Define to 'long' if <time.h> doesn't define. */ |
| 998 | 969 | /* #undef clock_t */ |
| 999 | 970 | |
diff -urN /System/Library/Frameworks/Python.framework/Versions/2.5/Headers/pymactoolbox.h /opt/local/include/python2.5/pymactoolbox.h
|
old
|
new
|
|
| 8 | 8 | #endif |
| 9 | 9 | |
| 10 | 10 | #include <Carbon/Carbon.h> |
| 11 | | #ifndef __LP64__ |
| 12 | 11 | #include <QuickTime/QuickTime.h> |
| 13 | | #endif /* !__LP64__ */ |
| 14 | 12 | |
| 15 | 13 | /* |
| 16 | 14 | ** Helper routines for error codes and such. |
| … |
… |
|
| 135 | 133 | extern PyObject *GWorldObj_New(GWorldPtr); |
| 136 | 134 | extern int GWorldObj_Convert(PyObject *, GWorldPtr *); |
| 137 | 135 | |
| 138 | | #ifndef __LP64__ |
| 139 | 136 | /* Qt exports */ |
| 140 | 137 | extern PyObject *TrackObj_New(Track); |
| 141 | 138 | extern int TrackObj_Convert(PyObject *, Track *); |
| … |
… |
|
| 149 | 146 | extern int UserDataObj_Convert(PyObject *, UserData *); |
| 150 | 147 | extern PyObject *MediaObj_New(Media); |
| 151 | 148 | extern int MediaObj_Convert(PyObject *, Media *); |
| 152 | | #endif /* !__LP64__ */ |
| 153 | 149 | |
| 154 | 150 | /* Res exports */ |
| 155 | 151 | extern PyObject *ResObj_New(Handle); |