[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] include inttypes.h
From: |
E. Weddington |
Subject: |
Re: [avrdude-dev] include inttypes.h |
Date: |
Wed, 12 Feb 2003 10:11:57 -0700 |
On 11 Feb 2003 at 17:18, E. Weddington wrote:
> With the Linux port, stk500.c includes inttypes.h. This header
> doesn't come with cygwin. Well, it does under a /usr/include/mingw
> directory but it won't work because it has a bunch of other stuff in
> it as well. Can this file be put in the project?
>
Instead of putting this file in the project, there is only one place
in stk500.c that it's needed.
Around I believe line 683 is:
static int stk500_loadaddr(PROGRAMMER * pgm, uint16_t addr)
If the uint16_t is changed to unsigned int or unsigned short then
intttypes.h is not needed. This builds fine on cygwin.
Eric