Changes between Initial Version and Version 1 of Ticket #9906, comment 2
- Timestamp:
- Mar 24, 2016, 4:24:39 PM (9 years ago)
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.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.\\ 3 3 2nd point: configure checks for pyobjc. So it should belong to depends_lib, not depends_run. 4 4 5 5 Proposed patch: 6 6 7 {{{ 7 8 --- src/display.c.orig 2006-08-16 13:59:33.000000000 +0200 8 9 +++ src/display.c 2006-08-16 14:00:12.000000000 +0200 9 10 @@ -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)); 16 14 -#else 17 15 +#elif defined(__QNXNTO__) 18 16 PyDict_SetItemString(dict, "data", PyInt_FromLong(info.data)); 19 17 #endif 18 }}}