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
f31afb02
Commit
f31afb02
authored
Jun 15, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cset exclude: msvensson@shellback.|ChangeSet|20060411181854|53834
include/config-win.h: Exclude
parent
c2556346
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
include/config-win.h
include/config-win.h
+10
-0
No files found.
include/config-win.h
View file @
f31afb02
...
...
@@ -30,6 +30,7 @@ functions */
#include <sys/locking.h>
#include <windows.h>
#include <math.h>
/* Because of rint() */
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
...
...
@@ -222,9 +223,17 @@ typedef uint rf_SetTimer;
#define inline __inline
#endif
/* __cplusplus */
inline
double
rint
(
double
nr
)
{
double
f
=
floor
(
nr
);
double
c
=
ceil
(
nr
);
return
(((
c
-
nr
)
>=
(
nr
-
f
))
?
f
:
c
);
}
#ifdef _WIN64
#define ulonglong2double(A) ((double) (ulonglong) (A))
#define my_off_t2double(A) ((double) (my_off_t) (A))
#else
inline
double
ulonglong2double
(
ulonglong
value
)
{
...
...
@@ -330,6 +339,7 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_FLOAT_H
#define HAVE_LIMITS_H
#define HAVE_STDDEF_H
#define HAVE_RINT
/* defined in this file */
#define NO_FCNTL_NONBLOCK
/* No FCNTL */
#define HAVE_ALLOCA
#define HAVE_STRPBRK
...
...
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