def of _read only for console app
This commit is contained in:
parent
0892d04c8a
commit
2c8d477f68
|
|
@ -1,3 +1,6 @@
|
||||||
|
2011-07-09 Holger Vogt
|
||||||
|
* input.c: definition of _read only for Windows console
|
||||||
|
|
||||||
2011-07-09 Robert Larice
|
2011-07-09 Robert Larice
|
||||||
* src/frontend/gens.c ,
|
* src/frontend/gens.c ,
|
||||||
* src/frontend/subckt.c ,
|
* src/frontend/subckt.c ,
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,9 @@ $Id$
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include "BaseTsd.h" /* for SSIZE_T */
|
#include "BaseTsd.h" /* for SSIZE_T */
|
||||||
#define ssize_t SSIZE_T
|
#define ssize_t SSIZE_T
|
||||||
#define read _read
|
#ifndef HAS_WINDOWS
|
||||||
|
#define read _read /* only for console */
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* A special 'getc' so that we can deal with ^D properly. There is no way for
|
/* A special 'getc' so that we can deal with ^D properly. There is no way for
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue