glide2x, sst1/sst96, init: added includes for djgpp

This commit is contained in:
sezero
2018-11-05 19:41:28 +03:00
parent c468e627e7
commit 347ccd8391
4 changed files with 24 additions and 0 deletions

View File

@@ -37,6 +37,10 @@
#define _outpw(port, data) pioOutWord(port, data);
#endif
#ifdef __DJGPP__
#include <fxdpmi.h>
#endif
#include <init96.h>
#include <sst1init.h>

View File

@@ -53,8 +53,12 @@
#include <string.h>
#ifdef __DOS32__
#ifdef __DJGPP__
#include <dos.h>
#else
#include <i86.h>
#endif
#endif
#include <init.h>

View File

@@ -31,8 +31,12 @@
#endif
#ifdef __DOS32__
#ifdef __DJGPP__
#include <dos.h>
#else
#include <i86.h>
#endif
#endif
#ifdef __WIN32__
#include <windows.h>
@@ -47,6 +51,10 @@
#define _outp outp
#endif
#ifdef __DJGPP__
#include <fxdpmi.h>
#endif
/* 3Dfx Headers */
#include <3dfx.h>
#include <fxpci.h>

View File

@@ -27,7 +27,11 @@
#include <stdio.h>
#include <stdlib.h>
#ifndef __linux__
#ifdef __DJGPP__
#include <fxdpmi.h>
#else
#include <conio.h>
#endif
#else
#include <fxpci.h>
#define _inp(port) pioInByte(port);
@@ -35,8 +39,12 @@
#define _outpw(port,data) pioOutWord(port, data);
#endif
#ifdef __DOS32__
#ifdef __DJGPP__
#include <dos.h>
#else
#include <i86.h>
#endif
#endif
#ifdef __WIN32__
#include <windows.h>