Skip to content

Commit

Permalink
Add in some stub libraries.
Browse files Browse the repository at this point in the history
These don't do anything but exist and export no symbols for now, but if you
have something that links against, say, SOM.DLL, you can at least start it
up and have it fail when it calls into that library instead of failing to
start at all.
  • Loading branch information
icculus committed Feb 24, 2018
1 parent cec77df commit b6795ed
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 0 deletions.
8 changes: 8 additions & 0 deletions native/mdm.c
@@ -0,0 +1,8 @@
#include "os2native.h"
#include "mdm.h"

LX_NATIVE_MODULE_INIT()
LX_NATIVE_MODULE_INIT_END()

// end of mdm.c ...

17 changes: 17 additions & 0 deletions native/mdm.h
@@ -0,0 +1,17 @@
#ifndef _INCL_MDM_H_
#define _INCL_MDM_H_

#include "os2types.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif

#endif

// end of mdm.h ...

8 changes: 8 additions & 0 deletions native/pmmerge.c
@@ -0,0 +1,8 @@
#include "os2native.h"
#include "pmmerge.h"

LX_NATIVE_MODULE_INIT()
LX_NATIVE_MODULE_INIT_END()

// end of pmmerge.c ...

17 changes: 17 additions & 0 deletions native/pmmerge.h
@@ -0,0 +1,17 @@
#ifndef _INCL_PMMERGE_H_
#define _INCL_PMMERGE_H_

#include "os2types.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif

#endif

// end of pmmerge.h ...

8 changes: 8 additions & 0 deletions native/pmshapi.c
@@ -0,0 +1,8 @@
#include "os2native.h"
#include "pmshapi.h"

LX_NATIVE_MODULE_INIT()
LX_NATIVE_MODULE_INIT_END()

// end of pmshapi.c ...

17 changes: 17 additions & 0 deletions native/pmshapi.h
@@ -0,0 +1,17 @@
#ifndef _INCL_PMSHAPI_H_
#define _INCL_PMSHAPI_H_

#include "os2types.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif

#endif

// end of pmshapi.h ...

8 changes: 8 additions & 0 deletions native/som.c
@@ -0,0 +1,8 @@
#include "os2native.h"
#include "som.h"

LX_NATIVE_MODULE_INIT()
LX_NATIVE_MODULE_INIT_END()

// end of som.c ...

17 changes: 17 additions & 0 deletions native/som.h
@@ -0,0 +1,17 @@
#ifndef _INCL_SOM_H_
#define _INCL_SOM_H_

#include "os2types.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif

#endif

// end of som.h ...

0 comments on commit b6795ed

Please sign in to comment.