about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/wrappedlibdl_private.h10
-rw-r--r--src/wrapped/wrappedlibgl_private.h3
2 files changed, 7 insertions, 6 deletions
diff --git a/src/wrapped/wrappedlibdl_private.h b/src/wrapped/wrappedlibdl_private.h
index c2106250..540ddf0f 100644
--- a/src/wrapped/wrappedlibdl_private.h
+++ b/src/wrapped/wrappedlibdl_private.h
@@ -1,13 +1,15 @@
-#if defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)
+#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
+#error Meh...
+#endif
 
 GOM(dladdr, iFEpp)
 GOM(dladdr1, iFEpppi)
 GOM(dlclose, iFEp)
 GOM(dlerror, pFEv)
 #ifdef STATICBUILD
-//DATAB(_dlfcn_hook, sizeof(void*))
+//DATAB(_dlfcn_hook, 8)
 #else
-DATAB(_dlfcn_hook, sizeof(void*))
+DATAB(_dlfcn_hook, 8)
 #endif
 GOM(dlinfo, iFEpip)
 GOM(dlmopen, pFEppi)
@@ -15,5 +17,3 @@ GOM(dlopen, pFEpi)
 GOM(dlsym, pFEpp)
 GOM(dlvsym, pFEppp)   // Weak
 GOM(_dl_find_object, iFEpp)
-
-#endif
diff --git a/src/wrapped/wrappedlibgl_private.h b/src/wrapped/wrappedlibgl_private.h
index f6d0d6f4..da4ca22d 100644
--- a/src/wrapped/wrappedlibgl_private.h
+++ b/src/wrapped/wrappedlibgl_private.h
@@ -1,6 +1,7 @@
 #if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA))
-#error meh!
+#error Meh...
 #endif
+
 //VERSION_1_0
 GO(glAccum, vFuf)
 GO(glAlphaFunc, vFuf)