projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8351c39
)
Fixed warnings from ntstatus.h on Windows
author
Dmytro Korchynskyi
<kdl.dima@gmail.com>
Mon, 17 May 2021 21:39:35 +0000
(
00:39
+0300)
committer
Dmytro Korchynskyi
<kdl.dima@gmail.com>
Mon, 13 Sep 2021 10:05:41 +0000
(13:05 +0300)
Signed-off-by: Dmytro Korchynskyi <kdl.dima@gmail.com>
src/libsync/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/libsync/CMakeLists.txt
b/src/libsync/CMakeLists.txt
index 750d45ec8361c6098400ddb24aa83d7d7e779fe9..3f563bddaab290a0ada038649d3d1525b75676fc 100644
(file)
--- a/
src/libsync/CMakeLists.txt
+++ b/
src/libsync/CMakeLists.txt
@@
-64,6
+64,11
@@
set(libsync_SRCS
creds/keychainchunk.cpp
)
+if (WIN32)
+ # to fix warnings from ntstatus.h
+ add_definitions(-DUMDF_USING_NTSTATUS)
+endif()
+
if(TOKEN_AUTH_ONLY)
set (libsync_SRCS ${libsync_SRCS} creds/tokencredentials.cpp)
else()