Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
1b4a8163
Commit
1b4a8163
authored
Apr 22, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept higher vers. nums in make_version/MAKE_VERSION
parent
cdb18d38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cmake_targets/macros.cmake
cmake_targets/macros.cmake
+1
-1
openair1/PHY/types.h
openair1/PHY/types.h
+1
-1
No files found.
cmake_targets/macros.cmake
View file @
1b4a8163
...
@@ -77,7 +77,7 @@ endmacro(add_list_string_option)
...
@@ -77,7 +77,7 @@ endmacro(add_list_string_option)
function
(
make_version VERSION_VALUE
)
function
(
make_version VERSION_VALUE
)
math
(
EXPR RESULT
"0"
)
math
(
EXPR RESULT
"0"
)
foreach
(
ARG
${
ARGN
}
)
foreach
(
ARG
${
ARGN
}
)
math
(
EXPR RESULT
"
${
RESULT
}
*
1
6 +
${
ARG
}
"
)
math
(
EXPR RESULT
"
${
RESULT
}
*
25
6 +
${
ARG
}
"
)
endforeach
()
endforeach
()
set
(
${
VERSION_VALUE
}
"
${
RESULT
}
"
PARENT_SCOPE
)
set
(
${
VERSION_VALUE
}
"
${
RESULT
}
"
PARENT_SCOPE
)
endfunction
()
endfunction
()
...
...
openair1/PHY/types.h
View file @
1b4a8163
...
@@ -23,6 +23,6 @@
...
@@ -23,6 +23,6 @@
#define __openair_TYPES_H__
#define __openair_TYPES_H__
#include <stdint.h>
#include <stdint.h>
#define MAKE_VERSION(a,b,c) ((a)*
256+(b)*1
6+c)
#define MAKE_VERSION(a,b,c) ((a)*
65536+(b)*25
6+c)
#endif
/*__openair_TYPES_H__ */
#endif
/*__openair_TYPES_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment