File: inttypes-win.h

package info (click to toggle)
ipmiutil 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,992 kB
  • sloc: ansic: 73,455; sh: 15,281; cpp: 2,245; makefile: 519
file content (30 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (6)
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
/*
 * inttypes.h
 * 
 */
#ifdef WIN32

#ifndef INTTYPES_WIN
#define INTTYPES_WIN
typedef unsigned char   uint8_t;
typedef unsigned short  uint16_t;
typedef unsigned int    uint32_t;
/*
#if __WORDSIZE == 64
typedef unsigned long int   uint64_t; 
#else
typedef unsigned long long  uint64_t;
#endif
*/
typedef uint32_t   socklen_t;

#ifndef __attribute__
#define __attribute__(Spec) /*empty*/
#endif
#endif

#else  
/* Linux */
#include <inttypes.h>
#endif
/* end of inttypes.h */