This is enough to survive emx.dll intialization and a printf("hello world")
mainline, but note that we need to properly implement DosQueryHType()
before EMX's printf() will work, though (as it currently thinks stdout isn't
open), so we're not quite through a proper C Hello World test yet.
26 lines
335 B
C
26 lines
335 B
C
#ifndef _INCL_NLS_H_
|
|
#define _INCL_NLS_H_
|
|
|
|
#include "os2types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct COUNTRYCODE
|
|
{
|
|
ULONG country;
|
|
ULONG codepage;
|
|
} COUNTRYCODE, *PCOUNTRYCODE;
|
|
|
|
APIRET OS2API DosQueryDBCSEnv(ULONG cb, PCOUNTRYCODE pcc, PCHAR pBuf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
// end of nls.h ...
|
|
|