Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
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
Libraries
spdlog
Commits
79e10524
Commit
79e10524
authored
Nov 29, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #1335
parent
2d4e531a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
include/spdlog/details/os-inl.h
include/spdlog/details/os-inl.h
+5
-0
No files found.
include/spdlog/details/os-inl.h
View file @
79e10524
...
@@ -230,7 +230,12 @@ SPDLOG_INLINE size_t filesize(FILE *f)
...
@@ -230,7 +230,12 @@ SPDLOG_INLINE size_t filesize(FILE *f)
#endif
#endif
#else // unix
#else // unix
// OpenBSD doesn't compile with :: before the fileno(..)
#if defined(__OpenBSD__)
int
fd
=
fileno
(
f
);
#else
int
fd
=
::
fileno
(
f
);
int
fd
=
::
fileno
(
f
);
#endif
// 64 bits(but not in osx or cygwin, where fstat64 is deprecated)
// 64 bits(but not in osx or cygwin, where fstat64 is deprecated)
#if (defined(__linux__) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
#if (defined(__linux__) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
struct
stat64
st
;
struct
stat64
st
;
...
...
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