File: types-compat.h

package info (click to toggle)
openlibm 0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,556 kB
  • ctags: 3,641
  • sloc: ansic: 19,492; asm: 1,246; pascal: 81; makefile: 72
file content (23 lines) | stat: -rw-r--r-- 467 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
#ifndef _TYPES_COMPAT_H_
#define	_TYPES_COMPAT_H_

#include <sys/types.h>
#include <limits.h>
#include <stdint.h>

#ifdef __linux__
/* Not sure what to do about __pure2 on linux */
#define __pure2 
#endif

#ifdef _WIN32
/* Not sure what to do about __pure2 on windows */
#define __pure2 
typedef uint8_t               u_int8_t;
typedef uint16_t              u_int16_t;
typedef uint32_t              u_int32_t;
typedef uint64_t              u_int64_t;
#endif


#endif