fix my_config.h for ppc platforms (man this is painful)

This commit is contained in:
Tom Lane 2005-12-15 17:04:25 +00:00 committed by Michal Schorm
parent 59d8e93d3c
commit 2874560e46
2 changed files with 6 additions and 3 deletions

View File

@ -13,9 +13,9 @@
#include "my_config_ia64.h" #include "my_config_ia64.h"
#elif defined(__i386__) #elif defined(__i386__)
#include "my_config_i386.h" #include "my_config_i386.h"
#elif defined(__ppc64__) #elif defined(__ppc64__) || defined(__powerpc64__)
#include "my_config_ppc64.h" #include "my_config_ppc64.h"
#elif defined(__ppc__) #elif defined(__ppc__) || defined(__powerpc__)
#include "my_config_ppc.h" #include "my_config_ppc.h"
#elif defined(__s390x__) #elif defined(__s390x__)
#include "my_config_s390x.h" #include "my_config_s390x.h"

View File

@ -1,6 +1,6 @@
Name: mysql Name: mysql
Version: 5.0.16 Version: 5.0.16
Release: 3 Release: 4
Summary: MySQL client programs and shared libraries. Summary: MySQL client programs and shared libraries.
License: GPL License: GPL
Group: Applications/Databases Group: Applications/Databases
@ -378,6 +378,9 @@ fi
%{_datadir}/sql-bench %{_datadir}/sql-bench
%changelog %changelog
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-4
- fix my_config.h for ppc platforms
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3 * Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 5.0.16-3
- my_config.h needs to guard against 64-bit platforms that also define the - my_config.h needs to guard against 64-bit platforms that also define the
32-bit symbol 32-bit symbol