preprocessor macro, cmake conditional for SDL_main

This commit is contained in:
Justin Scofield
2022-07-30 13:31:03 -04:00
parent ff39535afd
commit 60ce8abc0e
2 changed files with 19 additions and 12 deletions

View File

@@ -1,6 +1,10 @@
#ifndef YAZE_H
#define YAZE_H
#if defined(_WIN32)
#define main SDL_main
#endif
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "app/core/controller.h"