| Summary: | SDL_main export | ||
|---|---|---|---|
| Product: | SDL | Reporter: | eugeneopalev |
| Component: | main | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | 2.0.6 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
| Attachments: | Dependency Walker SDL_main export | ||
DECLSPEC added by http://hg.libsdl.org/SDL/rev/a8c29f5b679f on Aug. 28, 2017: "Removed the need for libSDL2main.a on Android, and separated JNI initialization out for other integrations" Fixed, thanks! https://hg.libsdl.org/SDL/rev/b2d2705511d1 |
Created attachment 3047 [details] Dependency Walker SDL_main export I noticed that after updating SDL to 2.0.6 my application now exports SDL_main. At GitHub SDL mirror (branch 2.0.5) SDL_main prototyped as extern C_LINKAGE int SDL_main(int argc, char *argv[]); but at branch 2.0.6 prototype is extern C_LINKAGE DECLSPEC int SDL_main(int argc, char *argv[]);