Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
fdf6902a
Commit
fdf6902a
authored
Dec 05, 2013
by
Davis King
Committed by
Davis E. King
Aug 05, 2021
Browse files
Another minor thing to avoid warnings from visual studio.
parent
04816ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
dlib/external/zlib/gzguts.h
dlib/external/zlib/gzguts.h
+8
-0
No files found.
dlib/external/zlib/gzguts.h
View file @
fdf6902a
...
@@ -3,6 +3,14 @@
...
@@ -3,6 +3,14 @@
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
#ifdef _MSC_VER
// Disable the following warnings for Visual Studio
// This is a warning you get from visual studio 2005 about things in the standard C++
// library being "deprecated." I checked the C++ standard and it doesn't say jack
// about any of them (I checked the searchable PDF). So this warning is total Bunk.
#pragma warning(disable : 4996)
#endif
#ifdef _LARGEFILE64_SOURCE
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1
# define _LARGEFILE_SOURCE 1
...
...
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