1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 15:57:13 +00:00

Move ldeboot.c #defines to under same #if condition as when they are used

This commit is contained in:
Nick Briggs 2022-08-12 19:00:31 -07:00
parent d842b284ac
commit fff53ba224

View File

@ -26,6 +26,12 @@
#ifdef USESUNSCREEN
#include <sys/fbio.h>
#define LDEMONO "ldesingle"
#define LDECOLOR "ldemulti"
#define LDETRUECOLOR "ldetruecolor"
#define FBTYPE_SUNFAST_COLOR 12
#endif /* USESUNSCREEN */
#include "unixfork.h"
@ -36,13 +42,7 @@
#define LDEX "ldex"
#endif /* XWINDOW */
#define LDEMONO "ldesingle"
#define LDECOLOR "ldemulti"
#define LDETRUECOLOR "ldetruecolor"
#define FBTYPE_SUNFAST_COLOR 12
char filetorun[30];
/************************************************************************/
/* */
@ -55,6 +55,7 @@ char filetorun[30];
int main(int argc, char *argv[])
{
int i;
char filetorun[30];
#ifdef USESUNSCREEN
int FrameBufferFd;
struct fbtype my_screen;