Blame include/psxtypes/__nttypes.h

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
ecc2ff
ecc2ff
ecc2ff
/* verify matching compiler */
ecc2ff
#if defined(__NT32)
ecc2ff
typedef char __sanity[sizeof(int) - sizeof(void *) + 1];
ecc2ff
#endif
ecc2ff
ecc2ff
ecc2ff
#if defined(__NT64)
ecc2ff
#ifndef _NT64_SANITY_CHECKED
ecc2ff
#define _NT64_SANITY_CHECKED
ecc2ff
struct	__sanity_struct {int i; void * p;};
ecc2ff
typedef char __sanity[sizeof(struct __sanity_struct) - 2*sizeof(long long) + 1];
ecc2ff
#endif
ecc2ff
#endif