Gave up problematic and unused version.h

This commit is contained in:
Thomas Schmitt 2008-09-14 17:45:11 +00:00
parent 8bb0ad94ce
commit 12ab1d49da
2 changed files with 9 additions and 11 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.09.09.131915" #define Cdrskin_timestamP "2008.09.14.174344"

View File

@ -4,7 +4,11 @@
/* #include <a ssert.h> */ /* #include <a ssert.h> */
#include <stdlib.h> #include <stdlib.h>
#include "version.h"
/* ts A80914 : This is unneeded. Version info comes from libburn.h.
#include "v ersion.h"
*/
#include "util.h" #include "util.h"
#include "libburn.h" #include "libburn.h"
@ -48,13 +52,7 @@ char *burn_strndup(char *s, int n)
void burn_version(int *major, int *minor, int *micro) void burn_version(int *major, int *minor, int *micro)
{ {
/* ts A80408 : switched from configure.ac versioning to libburn.h versioning */ /* ts A80408 : switched from configure.ac versioning to libburn.h versioning */
#ifdef burn_header_version_major *major = burn_header_version_major;
*major = burn_header_version_major; *minor = burn_header_version_minor;
*minor = burn_header_version_minor; *micro = burn_header_version_micro;
*micro = burn_header_version_micro;
#else
*major = BURN_MAJOR_VERSION;
*minor = BURN_MINOR_VERSION;
*micro = BURN_MICRO_VERSION;
#endif
} }