mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-06 20:46:42 +02:00
patches by R. Larice
This commit is contained in:
+11
-1
@@ -133,8 +133,18 @@ extern bool out_isatty;
|
||||
extern void out_init();
|
||||
#ifndef out_printf
|
||||
/* don't want to declare it if we have #define'ed it */
|
||||
#ifdef __GNUC__
|
||||
#ifdef HAS_WINDOWS
|
||||
#undef printf
|
||||
#endif
|
||||
extern void out_printf(char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
#ifdef HAS_WINDOWS
|
||||
#define printf p_r_i_n_t_f
|
||||
#endif
|
||||
#else
|
||||
extern void out_printf(char *fmt, ...);
|
||||
#endif
|
||||
|
||||
extern void out_printf();
|
||||
#endif
|
||||
extern void out_send();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user