Browse Source

Fixed typos in inpdomod.c and added osx support in resource.c.

pre-master-46
pnenzi 22 years ago
parent
commit
be722a1fdb
  1. 8
      ChangeLog
  2. 2
      src/frontend/resource.c
  3. 6
      src/spicelib/parser/inpdomod.c

8
ChangeLog

@ -1,3 +1,11 @@
2004-07-05 Paolo Nenzi <p.nenzi@ieee.org>
* src/frontend/resource.c: added __APPLE__ for mac osx support as in
patch sent by Khairulmizam Samsudin <kmbs@hotmail.com>
* src/spicelib/parser/inpdomod.c: fixed some typos as in patch
sent by Khairulmizam Samsudin <kmbs@hotmail.com>
2004-06-22 Paolo Nenzi <p.nenzi@ieee.org> 2004-06-22 Paolo Nenzi <p.nenzi@ieee.org>
* src/spicelib/devices/vbic: Vbic code updated. Thanks to Dietmar * src/spicelib/devices/vbic: Vbic code updated. Thanks to Dietmar

2
src/frontend/resource.c

@ -406,7 +406,7 @@ baseaddr(void)
if (getenv("SPICE_NO_DATASEG_CHECK")) if (getenv("SPICE_NO_DATASEG_CHECK"))
return 0; return 0;
#if defined(__CYGWIN__) || defined(HAS_WINDOWS)
#if defined(__CYGWIN__) || defined(HAS_WINDOWS) || defined(__APPLE__)
return 0; return 0;
#endif #endif

6
src/spicelib/parser/inpdomod.c

@ -135,14 +135,14 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab)
type = INPtypelook("MESA"); type = INPtypelook("MESA");
if (type < 0) if (type < 0)
{ {
err = INPmkTemp("Device type MES2 not availabe\n");
err = INPmkTemp("Device type MESA not availabe\n");
} }
break; break;
case 3: case 3:
type = INPtypelook("MESA"); type = INPtypelook("MESA");
if (type < 0) if (type < 0)
{ {
err = INPmkTemp("Device type MES2 not availabe\n");
err = INPmkTemp("Device type MESA not availabe\n");
} }
break; break;
case 4: case 4:
@ -168,7 +168,7 @@ char *INPdomodel(void *ckt, card * image, INPtables * tab)
break; break;
default: default:
err = INPmkTemp("only mesfet device level 1 and hfet level 5-6 supported\n");
err = INPmkTemp("only mesfet device level 1-4 and hfet level 5-6 supported\n");
break; break;
} }
INPmakeMod(modname, type, image); INPmakeMod(modname, type, image);

Loading…
Cancel
Save