This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
building_data_management_systems.Xuanzhou.2024Fall.DaSE
/
levelDB-LAB1-pzy_ckx
Watch
23
Star
0
Fork
0
Code
Issues
0
Pull Requests
1
Releases
0
Wiki
Activity
Browse Source
Two small fixes for the Windows implementation (
#661
)
* Check if NOMIMMAX is defined before defining it * Pass char* for a %s format in a snprintf call
pull/1/head
Felipe Oliveira Carvalho
5 years ago
committed by
Chris Mumford
parent
6571279d6d
commit
7035af5fc3
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
util/env_windows.cc
+ 2
- 0
util/env_windows.cc
View File
@ -4,7 +4,9 @@
// Prevent Windows headers from defining min/max macros and instead
// Prevent Windows headers from defining min/max macros and instead
// use STL.
// use STL.
#
ifndef NOMINMAX
#
define NOMINMAX
#
define NOMINMAX
#
endif
// ifndef NOMINMAX
#
include
<windows.h>
#
include
<windows.h>
#
include
<algorithm>
#
include
<algorithm>
Write
Preview
Loading…
Cancel
Save