mirror of /home/gitosis/repositories/libowfat.git
use inttypes.h to declare ints in uint*.h
parent
77ec2baa8f
commit
2fd48c7e57
1
CHANGES
1
CHANGES
|
@ -5,6 +5,7 @@
|
|||
io_timeouted loop. (Dirk Engling)
|
||||
add some int overflow check macros to rangecheck.h
|
||||
fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov)
|
||||
use inttypes.h to declare ints in uint*.h
|
||||
|
||||
0.25:
|
||||
array_allocate no longer truncates the array
|
||||
|
|
6
uint16.h
6
uint16.h
|
@ -1,8 +1,10 @@
|
|||
#ifndef UINT16_H
|
||||
#define UINT16_H
|
||||
|
||||
typedef unsigned short uint16;
|
||||
typedef signed short int16;
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef uint16_t uint16;
|
||||
typedef int16_t int16;
|
||||
|
||||
#if defined(__i386__) && !defined(NO_UINT16_MACROS)
|
||||
#define uint16_pack(out,in) (*(uint16*)(out)=(in))
|
||||
|
|
6
uint32.h
6
uint32.h
|
@ -1,8 +1,10 @@
|
|||
#ifndef UINT32_H
|
||||
#define UINT32_H
|
||||
|
||||
typedef unsigned int uint32;
|
||||
typedef signed int int32;
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef uint32_t uint32;
|
||||
typedef int32_t int32;
|
||||
|
||||
#if defined(__i386__) && !defined(NO_UINT32_MACROS)
|
||||
#define uint32_pack(out,in) (*(uint32*)(out)=(in))
|
||||
|
|
Loading…
Reference in New Issue