Browse Source

Fix for FOLDERID_ linkage for msvcrt builds

Brian Fiete 4 năm trước cách đây
mục cha
commit
fc1a54c208
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      BeefySysLib/platform/win/Platform.cpp

+ 5 - 0
BeefySysLib/platform/win/Platform.cpp

@@ -1,3 +1,8 @@
+#define INITKNOWNFOLDERS
+#include <guiddef.h>
+#include <KnownFolders.h>
+#undef INITKNOWNFOLDERS
+
 #pragma warning(disable:4065)
 #pragma warning(disable:4996)