summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h10
-rw-r--r--include/m_netlib.h2
2 files changed, 5 insertions, 7 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 947c37ed83..a9f7f4d252 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -48,16 +48,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef MIR_APP_EXPORTS
#define MIR_APP_EXPORT MIR_EXPORT
- typedef struct NetlibUser* HNETLIBUSER;
- typedef struct NetlibConnection* HNETLIBCONN;
- typedef struct NetlibBoundPort* HNETLIBBIND;
#else
#define MIR_APP_EXPORT MIR_IMPORT
- DECLARE_HANDLE(HNETLIBUSER);
- DECLARE_HANDLE(HNETLIBCONN);
- DECLARE_HANDLE(HNETLIBBIND);
#endif
+typedef struct NetlibUser* HNETLIBUSER;
+typedef struct NetlibBoundPort* HNETLIBBIND;
+typedef struct NetlibConnection* HNETLIBCONN;
+
typedef struct TMO_IntMenuItem* HGENMENU;
class CMPluginBase;
diff --git a/include/m_netlib.h b/include/m_netlib.h
index f02d1e890f..3ff4f971d8 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -785,7 +785,7 @@ public:
MWebSocket();
~MWebSocket();
- __forceinline HANDLE getConn() const { return m_hConn; }
+ __forceinline HNETLIBCONN getConn() const { return m_hConn; }
// packet processor
virtual void process(const uint8_t *buf, size_t cbLen) = 0;