22 lines
365 B
C
22 lines
365 B
C
#ifndef INCLUDED_C_ALIGNMENT_H
|
|
#define INCLUDED_C_ALIGNMENT_H
|
|
|
|
typedef union {
|
|
#ifdef C_ALIGN_MAX_BYTES
|
|
char pad[C_ALIGN_MAX_BYTES];
|
|
#else
|
|
int i;
|
|
long l;
|
|
long *lp;
|
|
void *p;
|
|
void (*fp)(void);
|
|
float f;
|
|
double d;
|
|
long double ld;
|
|
#endif
|
|
}c_Alignment_t ;
|
|
|
|
#define C_ALIGN_SIZE sizeof(c_Alignment_t)
|
|
|
|
#endif /*INCLUDED_C_ALIGNMENT_H*/
|