ソースを参照

Make it more clear that some libs3 sources are not used

Source commit: eae4b49ff3d6fc2568cca2896bb0915b5b35cf47
Martin Prikryl 1 週間 前
コミット
6779a0f943
2 ファイル変更4 行追加0 行削除
  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