Blame include/psxtypes/__nttypes.h

2184c4
/* verify matching compiler */
2184c4
#if defined(__NT32)
2184c4
2184c4
typedef char __sanity[sizeof(int) - sizeof(void *) + 1];
2184c4
2184c4
#elif defined(__NT64)
2184c4
2184c4
#ifndef _NT64_SANITY_CHECKED
2184c4
#define _NT64_SANITY_CHECKED
2184c4
2184c4
struct	__sanity_struct {int i; void * p;};
2184c4
typedef char __sanity[sizeof(struct __sanity_struct) - 2*sizeof(long long) + 1];
2184c4
2184c4
#endif
2184c4
2184c4
#endif
2184c4
2184c4
2184c4
/*compiler directives: unified syntax */
2184c4
#if defined(__GNUC__)
2184c4
#include "compiler/__nt_compiler_gcc.h"
2184c4
#elif defined (_MSC_VER)
2184c4
#include "compiler/__nt_compiler_msvc.h"
2184c4
#endif
2184c4
2184c4
2184c4
/* portable types in a free-standing NT environment */
2184c4
#ifndef __ASSEMBLER__
2184c4
#if defined(__NT32)
2184c4
#include "arch/nt32/ntalltypes.h"
2184c4
#elif defined(__NT64)
2184c4
#include "arch/nt64/ntalltypes.h"
2184c4
#endif
2184c4
#endif