[BACK]Return to patch-include_CEGUIDynamicModule_h CVS log [TXT][DIR] Up to [local] / ports / graphics / cegui / patches

File: [local] / ports / graphics / cegui / patches / Attic / patch-include_CEGUIDynamicModule_h (download)

Revision 1.1, Sun Feb 1 18:45:38 2009 UTC (15 years, 4 months ago) by yason
Branch: MAIN

graphics/cegui added

$OpenBSD$
--- include/CEGUIDynamicModule.h.orig	Sun Jan 25 17:52:09 2009
+++ include/CEGUIDynamicModule.h	Sun Jan 25 17:53:48 2009
@@ -42,7 +42,7 @@
     struct HINSTANCE__;
     typedef struct HINSTANCE__* hInstance;
 
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__OpenBSD__)
 #    define DYNLIB_HANDLE void*
 #    define DYNLIB_LOAD( a ) dlopen( a, RTLD_LAZY )
 #    define DYNLIB_GETSYM( a, b ) dlsym( a, b )