Changes between Initial Version and Version 1 of Ticket #9906, comment 2


Ignore:
Timestamp:
Mar 24, 2016, 4:24:39 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9906, comment 2

    initial v1  
    1 The data member for SDL_SysWMinfo seems only present on qnx/photon.
    2 Changing the line before the one calling this data member by #elif defined(__QNXTO__) seems to make sense and allows py-game to compile ok.
     1The data member for SDL_SysWMinfo seems only present on qnx/photon.\\
     2Changing the line before the one calling this data member by `#elif defined(__QNXTO__)` seems to make sense and allows py-game to compile ok.\\
    332nd point: configure checks for pyobjc. So it should belong to depends_lib, not depends_run.
    44
    55Proposed patch:
    66
     7{{{
    78--- src/display.c.orig  2006-08-16 13:59:33.000000000 +0200
    89+++ src/display.c       2006-08-16 14:00:12.000000000 +0200
    910@@ -428,7 +428,7 @@
    10                 PyDict_SetItemString(dict, "window", PyInt_FromLong(info.window)
    11 );
    12                 PyDict_SetItemString(dict, "wimpVersion", PyInt_FromLong(info.wi
    13 mpVersion));
    14                 PyDict_SetItemString(dict, "taskHandle", PyInt_FromLong(info.tas
    15 kHandle));
     11                PyDict_SetItemString(dict, "window", PyInt_FromLong(info.window));
     12                PyDict_SetItemString(dict, "wimpVersion", PyInt_FromLong(info.wimpVersion));
     13                PyDict_SetItemString(dict, "taskHandle", PyInt_FromLong(info.taskHandle));
    1614-#else
    1715+#elif defined(__QNXNTO__)
    1816                PyDict_SetItemString(dict, "data", PyInt_FromLong(info.data));
    1917 #endif
     18}}}