You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0 Reported for operating system, platform: iOS (All), iPhone/iPod touch
Comments on the original bug report:
On 2010-08-17 06:41:05 +0000, Jack Jansen wrote:
We're using SDL only for audio on the iPhone, and the main() program in SDL_uikitappdelegate.m is conflicting with our own main program. But: some other routines from that file are needed, obviously.
I tried disabling the main program by adding GCC_PREPROCESSOR_DEFINES=main=mainUNUSED to the xcodebuild command line for building libSDLiPhone.a, but unfortunately that doesn't work because the file starts with
#ifdef main
#undef main
#endif
Could I request that you add something like #ifndef WITHOUT_SDL_MAIN_PROGRAM or something like that around the main() program, or some other means whereby we can exclude the main program while keeping all the other goodies?
Thanks,
Jack
On 2011-04-27 18:15:53 +0000, Vittorio Giovara wrote:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0
Reported for operating system, platform: iOS (All), iPhone/iPod touch
Comments on the original bug report:
On 2010-08-17 06:41:05 +0000, Jack Jansen wrote:
On 2011-04-27 18:15:53 +0000, Vittorio Giovara wrote:
On 2013-05-21 01:22:06 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: