Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7fb9d5aa
Commit
7fb9d5aa
authored
Sep 14, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix QNX warning
parent
9a649910
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
include/my_global.h
include/my_global.h
+3
-1
No files found.
include/my_global.h
View file @
7fb9d5aa
...
@@ -344,7 +344,9 @@ extern "C" int madvise(void *addr, size_t len, int behav);
...
@@ -344,7 +344,9 @@ extern "C" int madvise(void *addr, size_t len, int behav);
#undef LONGLONG_MIN
/* These get wrongly defined in QNX 6.2 */
#undef LONGLONG_MIN
/* These get wrongly defined in QNX 6.2 */
#undef LONGLONG_MAX
/* standard system library 'limits.h' */
#undef LONGLONG_MAX
/* standard system library 'limits.h' */
#ifdef __cplusplus
#ifdef __cplusplus
#define HAVE_RINT
/* rint() and isnan() functions are not */
#ifndef HAVE_RINT
#define HAVE_RINT
#endif
/* rint() and isnan() functions are not */
#define rint(a) std::rint(a)
/* visible in C++ scope due to an error */
#define rint(a) std::rint(a)
/* visible in C++ scope due to an error */
#define isnan(a) std::isnan(a)
/* in the usr/include/math.h on QNX */
#define isnan(a) std::isnan(a)
/* in the usr/include/math.h on QNX */
#endif
#endif
...
...
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