Browse Source

def of _read only for console app

h_vogt 15 years ago
parent
commit
2c8d477f68
  1. 3
      ChangeLog
  2. 4
      src/frontend/parser/input.c

3
ChangeLog

@ -1,3 +1,6 @@
2011-07-09 Holger Vogt
* input.c: definition of _read only for Windows console
2011-07-09 Robert Larice
* src/frontend/gens.c ,
* src/frontend/subckt.c ,

4
src/frontend/parser/input.c

@ -19,7 +19,9 @@ $Id$
#ifdef _MSC_VER
#include "BaseTsd.h" /* for SSIZE_T */
#define ssize_t SSIZE_T
#define read _read
#ifndef HAS_WINDOWS
#define read _read /* only for console */
#endif
#endif
/* A special 'getc' so that we can deal with ^D properly. There is no way for

Loading…
Cancel
Save