mirror of
https://github.com/simh/simh.git
synced 2026-04-17 08:41:28 +00:00
VIDEO: Fix video capable simulator builds on platforms which don't have libSDL available at all by enabling stub code
This commit is contained in:
10
sim_video.h
10
sim_video.h
@@ -27,12 +27,8 @@
|
||||
11-Jun-2013 MB First version
|
||||
*/
|
||||
|
||||
#ifndef _SIM_VIDEO_H_
|
||||
#define _SIM_VIDEO_H_ 0
|
||||
|
||||
#if !defined(USE_SIM_VIDEO)
|
||||
#error This simulator MUST be compiled with USE_SIM_VIDEO defined
|
||||
#else
|
||||
#ifndef SIM_VIDEO_H_
|
||||
#define SIM_VIDEO_H_ 0
|
||||
|
||||
#include "sim_defs.h"
|
||||
|
||||
@@ -206,6 +202,4 @@ void vid_set_cursor_position (int32 x, int32 y); /* cursor position (set
|
||||
#include <SDL.h>
|
||||
#endif /* HAVE_LIBSDL */
|
||||
|
||||
#endif /* USE_SIM_VIDEO */
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user