~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_global.h

MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
typedef int64_t int64_t;
747
747
#endif
748
748
 
749
 
#ifndef HAVE_INT64
750
 
typedef int64_t int64;
751
 
#endif
752
 
#ifndef HAVE_UINT64
753
 
typedef uint64_t uint64;
754
 
#endif
755
 
 
756
 
typedef uint64_t my_uint64_t;
757
 
 
758
 
#if SIZEOF_CHARP == SIZEOF_INT
759
 
typedef int intptr;
760
 
#elif SIZEOF_CHARP == SIZEOF_LONG
761
 
typedef long intptr;
762
 
#elif SIZEOF_CHARP == SIZEOF_LONG_LONG
763
 
typedef long long intptr;
764
 
#else
765
 
#error sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long)
766
 
#endif
767
 
 
768
749
#define MY_ERRPTR ((void*)(intptr)1)
769
750
 
770
751
#if SIZEOF_OFF_T > 4