~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_global.h

  • Committer: Brian Aker
  • Date: 2008-07-14 04:46:28 UTC
  • Revision ID: brian@tangent.org-20080714044628-mk3nt2rbaeqt8oe9
Removed oddball types in my_global.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
#define sig_handler RETSIGTYPE
456
456
C_MODE_START
457
457
typedef void    (*sig_return)(void);/* Returns type from signal */
458
 
C_MODE_END
459
 
#if defined(__GNUC__) && !defined(_lint)
460
 
typedef char    pchar;          /* Mixed prototypes can take char */
461
 
typedef char    puchar;         /* Mixed prototypes can take char */
462
 
typedef char    pbool;          /* Mixed prototypes can take char */
463
 
typedef short   pshort;         /* Mixed prototypes can take short int */
464
 
typedef float   pfloat;         /* Mixed prototypes can take float */
465
 
#else
466
 
typedef int     pchar;          /* Mixed prototypes can't take char */
467
 
typedef uint    puchar;         /* Mixed prototypes can't take char */
468
 
typedef int     pbool;          /* Mixed prototypes can't take char */
469
 
typedef int     pshort;         /* Mixed prototypes can't take short int */
470
 
typedef double  pfloat;         /* Mixed prototypes can't take float */
471
 
#endif
472
 
C_MODE_START
473
458
typedef int     (*qsort_cmp)(const void *,const void *);
474
459
typedef int     (*qsort_cmp2)(void*, const void *,const void *);
475
460
C_MODE_END