Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
71c4e937
There was an error fetching the commit references. Please try again later.
Commit
71c4e937
authored
7 years ago
by
Unknown
Browse files
Options
Downloads
Patches
Plain Diff
fix win build
parent
8f52eb85
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
xmrstak/version.hpp
+2
-1
2 additions, 1 deletion
xmrstak/version.hpp
with
4 additions
and
3 deletions
CMakeLists.txt
+
2
−
2
View file @
71c4e937
...
...
@@ -379,10 +379,10 @@ execute_process(
)
if
(
NOT
"
${
GIT_COMMIT_HASH
}
"
STREQUAL
""
)
add_definitions
(
"-DGIT_COMMIT_HASH=
\"
${
GIT_COMMIT_HASH
}
\"
"
)
add_definitions
(
"-DGIT_COMMIT_HASH=
${
GIT_COMMIT_HASH
}
"
)
endif
()
if
(
NOT
"
${
GIT_BRANCH
}
"
STREQUAL
""
)
add_definitions
(
"-DGIT_BRANCH=
\"
${
GIT_BRANCH
}
\"
"
)
add_definitions
(
"-DGIT_BRANCH=
${
GIT_BRANCH
}
"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
xmrstak/version.hpp
+
2
−
1
View file @
71c4e937
#pragma once
#include
<inttypes.h>
#include
<string>
#include
"donate-level.hpp"
...
...
@@ -8,7 +9,7 @@ extern const char ver_short[];
inline
std
::
string
get_version_str
()
{
return
std
::
string
(
ver_long
)
+
std
::
to_string
(
uint
(
fDevDonationLevel
*
1000
))
;
return
std
::
string
(
ver_long
)
+
std
::
to_string
(
uint
32_t
(
fDevDonationLevel
*
1000
))
;
}
inline
std
::
string
get_version_str_short
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment