From 99a7bfd8fe597e1378be38f6ab57566f167ad34a Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 4 Feb 2021 22:08:48 +0100 Subject: [PATCH] Move version info from sharedspice.c to sharedspice.h --- src/include/ngspice/sharedspice.h | 4 ++++ src/sharedspice.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index 411baec54..3cf85bbd9 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -88,6 +88,10 @@ request to the caller or an request for exiting upon error, done by callback function ngexit(). */ +#ifndef PACKAGE_VERSION +#define PACKAGE_VERSION "34+" +#endif + #ifndef NGSPICE_DLL_H #define NGSPICE_DLL_H diff --git a/src/sharedspice.c b/src/sharedspice.c index 900407370..00ee2c2d0 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -10,7 +10,6 @@ /*******************/ #ifdef _MSC_VER -#define SHAREDSPICE_version "34.0" #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2