No subject
Wed Jan 16 07:41:46 CET 2008
#ifndef _STDINT_H
typedef unsigned long uint32_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
/* typedef long int32_t; */
typedef unsigned int size_t;
#endif
This will be a source of endless trouble if you include this header file before
stdint.h because you will end up in having these types redefined.
A better solution would be to include stdint.h. this should be ok because its an
ISO C99 header file. If not it would be better to take a look at stdint.h and
check the definitions it does for the single types and do the same.
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor at kernelconcepts.de
1D78 2D4D 6C53 1CA4 5588 D07B A8E7 940C 25B7 9A76
More information about the Gpephone-devel
mailing list