os2: update include paths. add missing libc includes to geniconv.

This commit is contained in:
Ozkan Sezer
2020-10-14 23:01:01 +03:00
parent 74cfb81dbb
commit 110a0f7bb1
13 changed files with 34 additions and 36 deletions

View File

@@ -21,7 +21,7 @@
#ifndef _SDL_os2output_
#define _SDL_os2output_
#include ".\core\os2\SDL_os2.h"
#include "../../core/os2/SDL_os2.h"
typedef struct _VODATA *PVODATA;
@@ -51,4 +51,4 @@ typedef struct _OS2VIDEOOUTPUT {
extern OS2VIDEOOUTPUT voDive;
extern OS2VIDEOOUTPUT voVMan;
#endif // _SDL_os2output_
#endif /* _SDL_os2output_ */

View File

@@ -30,9 +30,8 @@
#define INCL_GPI
#include <os2.h>
/*#define debug(s,...) SDL_LogDebug( SDL_LOG_CATEGORY_VIDEO, \
__func__"(): "##s, ##__VA_ARGS__ )*/
/*#define debug(s,...) SDL_LogDebug( SDL_LOG_CATEGORY_VIDEO, __func__"(): "##s, ##__VA_ARGS__ )*/
HPOINTER utilCreatePointer(SDL_Surface *surface, ULONG ulHotX, ULONG ulHotY);
#endif // _SDL_os2util_h
#endif /* _SDL_os2util_h */

View File

@@ -24,7 +24,7 @@
#define _SDL_os2video_h
#include "../SDL_sysvideo.h"
#include ".\core\os2\SDL_os2.h"
#include "../../core/os2/SDL_os2.h"
#define INCL_DOS
#define INCL_DOSERRORS
@@ -34,8 +34,6 @@
#define INCL_OS2MM
#define INCL_DOSMEMMGR
#include <os2.h>
//#include <gradd.h> // Defines FOURCC_xxxx
#include "SDL_os2mouse.h"
#include "SDL_os2output.h"

View File

@@ -25,13 +25,15 @@
#define INCL_DOSMODULEMGR
#define INCL_WIN
#define INCL_GPI
#define INCL_GPIBITMAPS // GPI bit map functions
#define INCL_GPIBITMAPS /* GPI bit map functions */
#include <os2.h>
#include <gradd.h>
#if 0 /* not used */
#define INCL_GRE_DEVICE
#define INCL_GRE_DEVMISC
#include <pmddi.h>
#endif
#include "SDL_os2output.h"
#include "gradd.h"
#include "SDL_os2video.h"
typedef struct _VODATA {