Fixed bug 15051, building for Windows breaks.
*par.c: ppi_claim and ppi_release definitions now in a Windows header file *ppi.c: Only included if you are building for Windows *win_ppdev.h: Initial Commit, see par.c CV: ---------------------------------------------------------------------- git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@549 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
767746888a
commit
cdf291c5ef
2
par.c
2
par.c
|
@ -34,6 +34,8 @@
|
|||
# include "linux_ppdev.h"
|
||||
#elif defined(__sun__) && defined(__svr4__) /* Solaris */
|
||||
# include "solaris_ecpp.h"
|
||||
#elif defined(WIN32NATIVE)
|
||||
# include "win_ppdev.h"
|
||||
#endif
|
||||
|
||||
#include "avr.h"
|
||||
|
|
4
ppi.c
4
ppi.c
|
@ -19,6 +19,9 @@
|
|||
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
#if !defined(WIN32NATIVE)
|
||||
|
||||
#include "ac_cfg.h"
|
||||
|
||||
#if HAVE_PARPORT
|
||||
|
@ -228,3 +231,4 @@ void ppi_close(int fd)
|
|||
|
||||
#endif /* HAVE_PARPORT */
|
||||
|
||||
#endif /* !WIN32NATIVE */
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef win32native_ppdev_h__
|
||||
#define win32native_ppdev_h__
|
||||
|
||||
#define ppi_claim(pgm)
|
||||
#define ppi_release(pgm)
|
||||
|
||||
#endif win32native_ppdev_h__
|
Loading…
Reference in New Issue