Browse Source

Make it more clear that some libs3 sources are not used

Source commit: eae4b49ff3d6fc2568cca2896bb0915b5b35cf47
Martin Prikryl 1 tuần trước cách đây
mục cha
commit
6779a0f943
2 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 2 0
      libs/libs3/src/mingw_s3_functions.c
  2. 2 0
      libs/libs3/src/s3.c

+ 2 - 0
libs/libs3/src/mingw_s3_functions.c

@@ -1,3 +1,4 @@
+#ifndef WINSCP
 /** **************************************************************************
  * mingw_s3_functions.c
  * 
@@ -41,3 +42,4 @@ int unsetenv(const char *a)
 {
     return SetEnvironmentVariable(a, 0);
 }
+#endif // WINSCP

+ 2 - 0
libs/libs3/src/s3.c

@@ -1,3 +1,4 @@
+#ifndef WINSCP
 /** **************************************************************************
  * s3.c
  *
@@ -4050,3 +4051,4 @@ int main(int argc, char **argv)
 
     return 0;
 }
+#endif // WINSCP