/usr/include/tss/platform.h is in libtspi-dev 0.3.14+fixed1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*++
There are platform dependent and general defines.
--*/
#ifndef TSS_PLATFORM_H
#define TSS_PLATFORM_H
/* The default implementation is to use stdint.h, a part of the C99 standard.
* Systems that don't support this are handled on a case-by-case basis.
*/
#if !defined(WIN32)
#include <stdint.h>
typedef uint8_t BYTE;
typedef int8_t TSS_BOOL;
typedef uint16_t UINT16;
typedef uint32_t UINT32;
typedef uint64_t UINT64;
typedef uint16_t TSS_UNICODE;
typedef void* PVOID;
#elif defined(WIN32)
#include <basetsd.h>
typedef unsigned char BYTE;
typedef signed char TSS_BOOL;
#ifndef _BASETSD_H_
// basetsd.h provides definitions of UINT16, UINT32 and UINT64.
typedef unsigned short UINT16;
typedef unsigned long UINT32;
typedef unsigned __int64 UINT64;
#endif
typedef unsigned short TSS_UNICODE;
typedef void* PVOID;
#endif
/* Include this so that applications that use names as defined in the
* 1.1 TSS specification can still compile
*/
#include <tss/compat11b.h>
#endif // TSS_PLATFORM_H
|