Last active
April 3, 2018 09:40
-
-
Save yellowback/41a5791652b259edac5a524ff66bf7da to your computer and use it in GitHub Desktop.
mariadb patch for netbsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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