🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
300 B

  1. #define SDL_MAIN_HANDLED
  2. #include "SDL.h"
  3. #include <stdio.h>
  4. int main(int argc, char *argv[]) {
  5. SDL_SetMainReady();
  6. if (SDL_Init(0) < 0) {
  7. fprintf(stderr, "could not initialize sdl2: %s\n", SDL_GetError());
  8. return 1;
  9. }
  10. SDL_Delay(100);
  11. SDL_Quit();
  12. return 0;
  13. }