Added version.h
This commit is contained in:
parent
ff91bdef26
commit
594016ea97
@ -3,11 +3,13 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "support.h"
|
#include "support.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
|
|
||||||
void print_version(void)
|
void print_version(void)
|
||||||
{
|
{
|
||||||
printf("xlhtml \nCopyright (c) 1999-2002, Charles Wyble\n"
|
printf("xlhtml %s \nCopyright (c) 1999-2002, Charles Wyble\n"
|
||||||
"Released under GPL.\n");
|
"Released under GPL.\n", VERSION );
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
xlhtml/version.h
Normal file
2
xlhtml/version.h
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
#define VERSION "0.4.9.3"
|
@ -17,6 +17,7 @@
|
|||||||
#include <math.h> /* For fabs() */
|
#include <math.h> /* For fabs() */
|
||||||
#include <ctype.h> /* For isprint() */
|
#include <ctype.h> /* For isprint() */
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
/* Used by packed string array Opcode: 0xFC */
|
/* Used by packed string array Opcode: 0xFC */
|
||||||
#define HARD_MAX_ROWS_97 0x7FFE /*!< Used in add_wb_array to prevent OOM */
|
#define HARD_MAX_ROWS_97 0x7FFE /*!< Used in add_wb_array to prevent OOM */
|
||||||
@ -29,9 +30,6 @@ U16 HARD_MAX_ROWS = HARD_MAX_ROWS_97;
|
|||||||
* Don't change anything below here...
|
* Don't change anything below here...
|
||||||
*
|
*
|
||||||
************************************/
|
************************************/
|
||||||
#if defined( __WIN32__ ) || defined( __BORLANDC__ )
|
|
||||||
#define VERSION "0.4.9.1"
|
|
||||||
#endif
|
|
||||||
#define PRGNAME "xlhtml"
|
#define PRGNAME "xlhtml"
|
||||||
#define WBUFF_SIZE 8240 /*!< The working buffer. SB 522+10+4(header) bytes minimum = 536 */
|
#define WBUFF_SIZE 8240 /*!< The working buffer. SB 522+10+4(header) bytes minimum = 536 */
|
||||||
#define MAX_COLORS 65 /*!< This is the size of the built-in color table */
|
#define MAX_COLORS 65 /*!< This is the size of the built-in color table */
|
||||||
@ -43,3 +41,4 @@ U16 HARD_MAX_ROWS = HARD_MAX_ROWS_97;
|
|||||||
#else
|
#else
|
||||||
#define GLOBAL_UMASK (2)
|
#define GLOBAL_UMASK (2)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user