Ticket #49607: patch-src-_macosx.m.diff

File patch-src-_macosx.m.diff, 478 bytes (added by jdgleeson, 8 years ago)
  • src/_macosx.m

    old new  
    11#include <Cocoa/Cocoa.h>
    22#include <ApplicationServices/ApplicationServices.h>
     3#ifndef kCTForegroundColorFromContextAttributeName
     4extern const CFStringRef kCTForegroundColorFromContextAttributeName AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
     5#endif
    36#include <sys/socket.h>
    47#include <Python.h>
    58#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION