diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-06-03 21:52:17 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-06-04 23:52:46 +0200 |
commit | 4adc1269cc2d487bb12f96b0827c4a74f1a05382 (patch) | |
tree | d173858d45ce0b0db4c37a1274506485b2d27698 /include | |
parent | 70ab43b5b0a21080efcbb3efd469c5eb8b235909 (diff) | |
download | mariadb-git-4adc1269cc2d487bb12f96b0827c4a74f1a05382.tar.gz |
FreeBSD compilation fixes
* FreeBSD calls amd64 what Linux calls x86_64
* signal returns void (*)(int)
* struct pam_message has char*, not const char*
* krb5_free_unparsed_name exists, but is deprecated
Diffstat (limited to 'include')
-rw-r--r-- | include/my_alarm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_alarm.h b/include/my_alarm.h index bc0004476ca..14a81c1ef17 100644 --- a/include/my_alarm.h +++ b/include/my_alarm.h @@ -31,7 +31,7 @@ extern ulong my_time_to_wait_for_lock; #include <signal.h> #ifdef HAVE_SIGHANDLER_T #define sig_return sighandler_t -#elif defined(SOLARIS) || defined(__sun) || defined(__APPLE__) +#elif defined(SOLARIS) || defined(__sun) || defined(__APPLE__) || defined(__FreeBSD__) typedef void (*sig_return)(int); /* Returns type from signal */ #else typedef void (*sig_return)(void); /* Returns type from signal */ |