p0is0n
Still Fresh
Hi guys,
I'm trying to set up my Visual Studio project so that it works for the GP2X and Win32, I have the projects set up properly, but cant figure out how to set it up so that i can wrap platform specific code in #ifdefs like this:
#ifdef _GP2X
printf("Exiting back to the main menu");
chdir("/usr/gp2x");
execl("/user/gp2x/gp2xmenu", "/user/gp2x/gp2xmenu", NULL);
#endif
Any help on this would be appreciated, as the code inside my #ifdef is never getting executed.
I'm trying to set up my Visual Studio project so that it works for the GP2X and Win32, I have the projects set up properly, but cant figure out how to set it up so that i can wrap platform specific code in #ifdefs like this:
#ifdef _GP2X
printf("Exiting back to the main menu");
chdir("/usr/gp2x");
execl("/user/gp2x/gp2xmenu", "/user/gp2x/gp2xmenu", NULL);
#endif
Any help on this would be appreciated, as the code inside my #ifdef is never getting executed.