glide2x, sst1/sst96, init: added includes for djgpp
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
#define _outpw(port, data) pioOutWord(port, data);
|
||||
#endif
|
||||
|
||||
#ifdef __DJGPP__
|
||||
#include <fxdpmi.h>
|
||||
#endif
|
||||
|
||||
#include <init96.h>
|
||||
#include <sst1init.h>
|
||||
|
||||
|
||||
@@ -53,8 +53,12 @@
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __DOS32__
|
||||
#ifdef __DJGPP__
|
||||
#include <dos.h>
|
||||
#else
|
||||
#include <i86.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <init.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user