Browse Source

posix/sdl: fix build

pull/2/head
mittorn 5 years ago
parent
commit
70cc52e203
  1. 1
      engine/platform/posix/sys_posix.c
  2. 1
      engine/platform/sdl/sys_sdl.c

1
engine/platform/posix/sys_posix.c

@ -17,6 +17,7 @@ GNU General Public License for more details. @@ -17,6 +17,7 @@ GNU General Public License for more details.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "platform/platform.h"
#include "menu_int.h"

1
engine/platform/sdl/sys_sdl.c

@ -49,6 +49,7 @@ void Platform_Init( void ) @@ -49,6 +49,7 @@ void Platform_Init( void )
{
#ifndef SDL_INIT_EVENTS
#define SDL_INIT_EVENTS 0
#endif
if( SDL_Init( SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_EVENTS ) )
{

Loading…
Cancel
Save