mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Better fix for OS/2 bustage - define missing function
This commit is contained in:
parent
e5ab917761
commit
7bb6ca7678
@ -1,4 +1,4 @@
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License
|
||||
@ -54,6 +54,14 @@ seeing which DLLs were in use at that time.
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* define DosQueryModFromEIP just in case someone doesn't have it */
|
||||
APIRET APIENTRY DosQueryModFromEIP(HMODULE *phMod,
|
||||
ULONG *pObjNum,
|
||||
ULONG BuffLen,
|
||||
PCHAR pBuff,
|
||||
ULONG *pOffset,
|
||||
ULONG Address);
|
||||
|
||||
/* BIN directory */
|
||||
char *bindir[] = {
|
||||
"GKGFX.DLL",
|
||||
@ -161,7 +169,6 @@ int main(int argc, char *argv[]) {
|
||||
return(1);
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (do_path == 0) {
|
||||
/* Get the name of this EXE and use its location as the path */
|
||||
HMODULE hmodule;
|
||||
@ -171,7 +178,6 @@ int main(int argc, char *argv[]) {
|
||||
pchar++;
|
||||
*pchar = '\0';
|
||||
}
|
||||
#endif
|
||||
|
||||
if (do_load) {
|
||||
ULONG ulCurMaxFH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user