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@549 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
5ea6e54f96
commit
fa935481aa
|
@ -34,6 +34,8 @@
|
||||||
# include "linux_ppdev.h"
|
# include "linux_ppdev.h"
|
||||||
#elif defined(__sun__) && defined(__svr4__) /* Solaris */
|
#elif defined(__sun__) && defined(__svr4__) /* Solaris */
|
||||||
# include "solaris_ecpp.h"
|
# include "solaris_ecpp.h"
|
||||||
|
#elif defined(WIN32NATIVE)
|
||||||
|
# include "win_ppdev.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "avr.h"
|
#include "avr.h"
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(WIN32NATIVE)
|
||||||
|
|
||||||
#include "ac_cfg.h"
|
#include "ac_cfg.h"
|
||||||
|
|
||||||
#if HAVE_PARPORT
|
#if HAVE_PARPORT
|
||||||
|
@ -228,3 +231,4 @@ void ppi_close(int fd)
|
||||||
|
|
||||||
#endif /* HAVE_PARPORT */
|
#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