Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define SDL_MAIN_HANDLED? #272

Open
rambo-panda opened this issue Feb 17, 2023 · 2 comments
Open

define SDL_MAIN_HANDLED? #272

rambo-panda opened this issue Feb 17, 2023 · 2 comments
Labels

Comments

@rambo-panda
Copy link

When using SDL, should SDL_MAIN_HANDLED definition be added?

 #if USE_SDL || USE_SDL_GPU

+#define SDL_MAIN_HANDLED // To fix SDL's "undefined reference toWinMain"
 #include SDL_INCLUDE_PATH
@kisvegabor
Copy link
Member

It's added in this project but it might be really useful to add it in lv_drv_conf.h.

Please send a Pull request.

@stale
Copy link

stale bot commented Apr 20, 2023

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants