mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 00:19:00 +02:00
- commandline bugfixes for windows
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
#include <SDL.h>
|
||||
#include <iostream>
|
||||
|
||||
#define MAIN_FUNCTION(X) int main(int argc, const char **argv) \
|
||||
{ \
|
||||
#define MAIN_FUNCTION(X) int main(int argc, char **argv) \
|
||||
{ \
|
||||
if(SDL_Init(SDL_INIT_EVERYTHING) < 0) { \
|
||||
std::cerr << "Couldn't initialize SDL: " << SDL_GetError() << "\n"; \
|
||||
return 1; \
|
||||
|
Reference in New Issue
Block a user