diff options
author | Alex Dupre <ale@FreeBSD.org> | 2007-07-02 06:10:16 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2007-07-02 06:10:16 +0000 |
commit | 5afd401817271d0266f7dc0dec61d9773ca0db3d (patch) | |
tree | ec65541ffd70bd8eb66105c585d3d117ff922475 /databases/mysql60-server | |
parent | efb5c6c124c821266909f31246af313e505f0535 (diff) | |
download | ports-5afd401817271d0266f7dc0dec61d9773ca0db3d.tar.gz ports-5afd401817271d0266f7dc0dec61d9773ca0db3d.zip |
Notes
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r-- | databases/mysql60-server/files/patch-include_my_global.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/mysql60-server/files/patch-include_my_global.h b/databases/mysql60-server/files/patch-include_my_global.h new file mode 100644 index 000000000000..be6bf96f1841 --- /dev/null +++ b/databases/mysql60-server/files/patch-include_my_global.h @@ -0,0 +1,27 @@ +--- include/my_global.h.orig Mon Jul 2 08:06:55 2007 ++++ include/my_global.h Mon Jul 2 08:07:53 2007 +@@ -561,12 +561,6 @@ + #define PURIFY_OR_LINT_INIT(var) + #endif + +-/* Define some useful general macros */ +-#if !defined(max) +-#define max(a, b) ((a) > (b) ? (a) : (b)) +-#define min(a, b) ((a) < (b) ? (a) : (b)) +-#endif +- + #if !defined(HAVE_UINT) + #undef HAVE_UINT + #define HAVE_UINT +@@ -1508,5 +1502,11 @@ + + /* Length of decimal number represented by INT64. */ + #define MY_INT64_NUM_DECIMAL_DIGITS 21 ++ ++/* Define some useful general macros */ ++#if !defined(max) ++#define max(a, b) ((a) > (b) ? (a) : (b)) ++#define min(a, b) ((a) < (b) ? (a) : (b)) ++#endif + + #endif /* my_global_h */ |