Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 158477
Collapse All | Expand All

(-)mysql-gui-common/library/base-library/source/myx_library.c.orig (+21 lines)
Lines 48-53 Link Here
48
typedef char    pbool;          /* Mixed prototypes can take char */
48
typedef char    pbool;          /* Mixed prototypes can take char */
49
typedef short   pshort;         /* Mixed prototypes can take short int */
49
typedef short   pshort;         /* Mixed prototypes can take short int */
50
typedef float   pfloat;         /* Mixed prototypes can take float */
50
typedef float   pfloat;         /* Mixed prototypes can take float */
51
/*
52
  __attribute__((format(...))) is only supported in gcc >= 2.8 and g++ >= 3.4
53
  But that's already covered by the __attribute__ tests above, so this is
54
  just a convenience macro.
55
*/
56
#ifndef ATTRIBUTE_FORMAT
57
# define ATTRIBUTE_FORMAT(style, m, n) __attribute__((format(style, m, n)))
58
#endif
59
60
/*
61
62
   __attribute__((format(...))) on a function pointer is not supported
63
   until  gcc 3.1
64
*/
65
#ifndef ATTRIBUTE_FORMAT_FPTR
66
# if (GCC_VERSION >= 3001)
67
#  define ATTRIBUTE_FORMAT_FPTR(style, m, n) ATTRIBUTE_FORMAT(style, m, n)
68
# else
69
#  define ATTRIBUTE_FORMAT_FPTR(style, m, n)
70
# endif /* GNUC >= 3.1 */
71
#endif
51
72
52
#include <m_ctype.h>
73
#include <m_ctype.h>
53
#endif
74
#endif

Return to bug 158477