File: pt_stdint.h

package info (click to toggle)
libpano13 2.9.12.dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,616 kB
  • ctags: 3,403
  • sloc: ansic: 31,169; sh: 8,383; cpp: 1,714; makefile: 236; perl: 202
file content (24 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* pt_stdint.h */
#ifndef PT_STDINT__H
#define PT_STDINT__H
# ifdef _MSC_VER  /* Microsoft Visual C++ */
typedef signed char             int8_t;
typedef short int               int16_t;
typedef int                     int32_t;
typedef __int64                 int64_t;
 
typedef unsigned char             uint8_t;
typedef unsigned short int        uint16_t;
typedef unsigned int              uint32_t;
/* no uint64_t */

#define INT32_MAX _I32_MAX

#  define vsnprintf _vsnprintf
#  define snprintf _snprintf
# else
#  include <stdint.h>
# endif

#endif