Browse Source

2006-10-26 Marcus Brinkmann <marcus@g10code.de>

	* src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
	defined.
Marcus Brinkmann 19 years ago
parent
commit
0dc4bc659d
2 changed files with 4 additions and 3 deletions
  1. 3 0
      ChangeLog
  2. 1 3
      src/settings.h

+ 3 - 0
ChangeLog

@@ -1,5 +1,8 @@
 2006-10-26  Marcus Brinkmann  <marcus@g10code.de>
 
+	* src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
+	defined.
+
 	* src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
 	CRYPTOKI_VERSION_MINOR): Move macros to ...
 	* src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):

+ 1 - 3
src/settings.h

@@ -44,9 +44,7 @@
 
 /* The version number of this library.  Defined by config.h.  */
 #if (! defined VERSION_MAJOR) || (! defined VERSION_MINOR)
-// #error Define VERSION_MAJOR and VERSION_MINOR in config.h.
-#define VERSION_MAJOR 0
-#define VERSION_MINOR 0
+#error Define VERSION_MAJOR and VERSION_MINOR in config.h.
 #endif
 
 /* FIXME: The following should be queried from SCD, really.  */