Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
7aced8e3
Commit
7aced8e3
authored
Nov 08, 2019
by
Peter W. Draper
Browse files
Make sure long long is exactly 8 bytes when using the logger
parent
0c16dc1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
7aced8e3
...
...
@@ -92,6 +92,12 @@ AC_ARG_ENABLE([logger],
if test "$with_logger" = "yes"; then
AC_DEFINE([WITH_LOGGER], 1, [logger enabled])
# The logger requires that long long is a 64bit type, let's
# check that.
AC_CHECK_SIZEOF([long long int])
if test "$ac_cv_sizeof_long_long_int" != "8"; then
AC_MSG_ERROR([The particle logger requires that 'long long int' has size 8 bytes])
fi
fi
AM_CONDITIONAL([HAVELOGGER],[test $with_logger = "yes"])
...
...
Peter W. Draper
@pdraper
mentioned in merge request
!937 (closed)
·
Nov 08, 2019
mentioned in merge request
!937 (closed)
mentioned in merge request !937
Toggle commit list
Pedro Gonnet
@nnrw56
·
Nov 08, 2019
Developer
Awesome, thanks!
Awesome, thanks!
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment