]> git.saurik.com Git - wxWidgets.git/blobdiff - src/iodbc/dlproc.h
Better disabling of toolbars and menubars
[wxWidgets.git] / src / iodbc / dlproc.h
index 127b0d4c64545b94fcbe285f4047515dbe9e6e2b..b757369a8b045bd62c83121c834f13c072cd94ef 100644 (file)
@@ -1,31 +1,39 @@
-#ifndef        _DLPROC_H
-# define       _DLPROC_H
+#ifndef _DLPROC_H
+# define        _DLPROC_H
 
-# include      <../iodbc/dlf.h>
+# include       <../iodbc/dlf.h>
 
-  typedef      RETCODE         (FAR* HPROC)();
+# ifdef OS2
+  typedef       RETCODE         (FAR* _System HPROC)();
+# else
+  typedef       RETCODE         (FAR* HPROC)();
+# endif
 
-# ifdef        DLDAPI_SVR4_DLFCN
-#  include     <dlfcn.h>
-   typedef void*       HDLL; 
+# ifdef DLDAPI_SVR4_DLFCN
+#  include      <dlfcn.h>
+   typedef void*        HDLL;
 # endif
 
 # ifdef DLDAPI_HP_SHL
-#  include     <dl.h>
-   typedef shl_t       HDLL;
+#  include      <dl.h>
+   typedef shl_t        HDLL;
+# endif
+
+# ifdef DLDAPI_AIX_LOAD
+    typedef void*        HDLL;
 # endif
 
-# ifdef        DLDAPI_AIX_LOAD
-   typedef void*       HDLL;
+# ifdef DLDAPI_OS2
+  typedef HMODULE      HDLL;
 # endif
 
-extern  HPROC          _iodbcdm_getproc();
-extern HDLL            _iodbcdm_dllopen(char FAR* dll);
-extern HPROC           _iodbcdm_dllproc(HDLL hdll, char FAR* sym);
-extern char FAR*       _iodbcdm_dllerror();
-extern  int            _iodbcdm_dllclose(HDLL hdll);
+extern  HPROC           _iodbcdm_getproc();
+extern  HDLL            _iodbcdm_dllopen(char FAR* dll);
+extern  HPROC           _iodbcdm_dllproc(HDLL hdll, char FAR* sym);
+extern  char FAR*       _iodbcdm_dllerror();
+extern  int             _iodbcdm_dllclose(HDLL hdll);
 
-#define        SQL_NULL_HDLL   ((HDLL)NULL)
-#define        SQL_NULL_HPROC  ((HPROC)NULL)
+#define SQL_NULL_HDLL   ((HDLL)NULL)
+#define SQL_NULL_HPROC  ((HPROC)NULL)
 
 #endif