Instantly share code, notes, and snippets.

Embed
What would you like to do?
mariadb patch for netbsd
--- mariadb-5.5.59/mysys/mysys_priv.h 2018-01-19 02:10:31.000000000 +0900
+++ mariadb-5.5.59/mysys/mysys_priv.h 2018-04-03 18:20:05.000000000 +0900
@@ -89,6 +89,7 @@
void my_error_unregister_all(void);
+#ifndef __NetBSD__
#ifndef O_PATH /* not Linux */
#if defined(O_SEARCH) /* Illumos */
#define O_PATH O_SEARCH
@@ -96,6 +97,7 @@
#define O_PATH O_EXEC
#endif
#endif
+#endif
#ifdef O_PATH
#define HAVE_OPEN_PARENT_DIR_NOSYMLINKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment