List:Internals« Previous MessageNext Message »
From:monty Date:November 5 2005 1:10pm
Subject:bk commit into 5.1 tree (monty:1.1925)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of monty. When monty does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1925 05/11/05 14:10:48 monty@stripped +1 -0
  Added inclusion of dlfcn.h from old 5.1 tree

  include/my_global.h
    1.111 05/11/05 14:10:45 monty@stripped +19 -0
    Added inclusion of dlfcn.h from old 5.1 tree

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	monty
# Host:	narttu.mysql.fi
# Root:	/home/my/mysql-5.1

--- 1.110/include/my_global.h	2005-10-06 11:25:56 +03:00
+++ 1.111/include/my_global.h	2005-11-05 14:10:45 +02:00
@@ -1361,4 +1361,23 @@
 #define NO_EMBEDDED_ACCESS_CHECKS
 #endif
 
+#ifdef HAVE_DLOPEN
+#if defined(__WIN__)
+#define dlsym(lib, name) GetProcAddress((HMODULE)lib, name)
+#define dlopen(libname, unused) LoadLibraryEx(libname, NULL, 0)
+#define dlclose(lib) FreeLibrary((HMODULE)lib)
+#elif defined(HAVE_DLFCN_H)
+#include <dlfcn.h>
+#endif
+#endif
+
+/* FreeBSD 2.2.2 does not define RTLD_NOW) */
+#ifndef RTLD_NOW
+#define RTLD_NOW 1
+#endif
+
+#ifndef HAVE_DLERROR
+#define dlerror() ""
+#endif
+
 #endif /* my_global_h */
Thread
bk commit into 5.1 tree (monty:1.1925)monty5 Nov