SOURCES: mysql-gui-tools-gcc42.patch (NEW) - allows build with std...
sls
sls at pld-linux.org
Thu Nov 30 07:36:23 CET 2006
Author: sls Date: Thu Nov 30 06:36:23 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allows build with stdlibc++-4.2.0 (respect ant thx for pluto)
---- Files affected:
SOURCES:
mysql-gui-tools-gcc42.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mysql-gui-tools-gcc42.patch
diff -u /dev/null SOURCES/mysql-gui-tools-gcc42.patch:1.1
--- /dev/null Thu Nov 30 07:36:23 2006
+++ SOURCES/mysql-gui-tools-gcc42.patch Thu Nov 30 07:36:18 2006
@@ -0,0 +1,13 @@
+--- mysql-gui-tools-5.0r5/mysql-gui-common/library/utilities/include/myx_util_functions.h.orig 2006-11-27 21:04:53.000000000 +0000
++++ mysql-gui-tools-5.0r5/mysql-gui-common/library/utilities/include/myx_util_functions.h 2006-11-27 21:05:41.000000000 +0000
+@@ -98,8 +98,8 @@
+ typedef __int64 longlong;
+ typedef unsigned __int64 ulonglong;
+ #else
+-# define min(a,b) ((a)<(b)?(a):(b))
+-# define max(a,b) ((a)>(b)?(a):(b))
++ static inline size_t min( size_t a, size_t b ) { return ( ( a < b ) ? a : b ); }
++ static inline size_t max( size_t a, size_t b ) { return ( ( a > b ) ? a : b ); }
+
+ typedef unsigned char uint8;
+ typedef unsigned char uchar;
================================================================
More information about the pld-cvs-commit
mailing list