调整版本定义
This commit is contained in:
parent
6d7488d5d8
commit
7bb27b3f8a
|
@ -19,9 +19,6 @@
|
||||||
#include "../../sdk/include/sane/sane_option_definitions.h"
|
#include "../../sdk/include/sane/sane_option_definitions.h"
|
||||||
#include "sane_option.h"
|
#include "sane_option.h"
|
||||||
|
|
||||||
#ifndef VERSION_BUILD
|
|
||||||
#define VERSION_BUILD 22030
|
|
||||||
#endif
|
|
||||||
#ifndef SIGUSR1
|
#ifndef SIGUSR1
|
||||||
#define SIGUSR1 10
|
#define SIGUSR1 10
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -28,13 +28,17 @@
|
||||||
#include "sane/sane_ex.h"
|
#include "sane/sane_ex.h"
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_WIN64)
|
#if defined(WIN32) || defined(_WIN64)
|
||||||
|
#include "../../../sdk/include/huagao/brand.h"
|
||||||
#ifndef HGSCANNER_EXPORT
|
#ifndef HGSCANNER_EXPORT
|
||||||
#ifdef _DEBUG
|
#pragma comment(lib, "scanner.lib")
|
||||||
#pragma comment(lib, "debug/scanner.lib")
|
#endif
|
||||||
|
#define VERSION_MAJOR VERSION_MAIN
|
||||||
|
#define VERSION_MINOR VERSION_SUB
|
||||||
|
#define VERSION_YEAR VERSION_BUILD1
|
||||||
|
#define VERSION_BUILD VERSION_PATCH
|
||||||
|
#define GET_BUILD_VER VERSION_BUILD
|
||||||
#else
|
#else
|
||||||
#pragma comment(lib, "release/scanner.lib")
|
#define GET_BUILD_VER VERSION_BUILD - 100000
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*********************************************************************************************
|
/*********************************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue